On Jan 15, 2008 6:22 AM, Ryan Schmidt <ryandesign@macports.org> wrote:

On Jan 14, 2008, at 20:49, Michael Franz wrote:

>> Without knowing what software it is that you're trying to build, I
>> can only make basic suggestions about how to compile something
>> against the MacPorts libraries. See this message from earlier today:
>>
>> http://lists.macosforge.org/pipermail/macports-users/2008-January/
>> 008313.html
>>
>> Especially see the "Bottom line" at the end.
>
> I have been trying this, but it does not solve  my problem.
> export CFLAGS="-I/opt/local/include" export LDFLAGS="-L/opt/local/
> lib"I am trying to compile icedtea, which as far as I know is not
> in the Macports. At least, freetype-devel is installed, I only have
> to find a way to get configure to find it.Thanks for you help!Michael

You mean this thing?

http://icedtea.classpath.org/

Yow, they have lots of requirements. From their INSTALL file:

> The build requirements are as follows:
>
> GNU libgcj 4.1.2
> Eclipse Java Compiler 3.2.1
> CUPS
> libX11 (libXp, libXtst, libXi, libXt)
> lesstif
> Freetype2
> patch
> sed
> unzip
> md5sum
> wget
> alsa
> xalan
> xerces
> firefox-devel
> glib2-devel
> gtk2-devel
> ant >= 1.6.5
> libXinerama-devel
> giflib-devel
> libpng-devel
> libjpeg-devel
> zlib-devel
> mercurial 0.9.5 + forest extension
After getting most of the dependent packages installed (had to remove firefox since I am having problems with xmlto) I am back to my original problem.  Configure can not find freetype-devel.

checking xerces2 jar... /opt/local/share/java/xercesImpl.jar
checking for FT_Init_FreeType in -lfreetype... yes
checking for freetype header directory... no
configure: error: "Freetype headers not found - try installing freetype-devel"

Michael