Hi, I have a program that needs to link against freetype-devel. I have installed freetype using macports - does this install the devel library? If not how do I install the devel portion? Michael
On Jan 14, 2008, at 19:38, Michael Franz wrote:
I have a program that needs to link against freetype-devel. I have installed freetype using macports - does this install the devel library? If not how do I install the devel portion?
In MacPorts there is no separation between the binaries and libraries (what some other package managers might install as "freetype") and the headers needed to build other software (what some other package managers might install as "freetype-devel"). Instead, in MacPorts, everything you need is already in "freetype". In MacPorts, there are a few ports named *-devel. But they serve a different and unrelated purpose -- to give you access to development versions of a particular port. Usually you do not need development versions, and can stick with the stable versions offered in the regular versions of the ports.
Ryan, On Jan 14, 2008 9:09 PM, Ryan Schmidt <ryandesign@macports.org> wrote:
On Jan 14, 2008, at 19:38, Michael Franz wrote:
I have a program that needs to link against freetype-devel. I have installed freetype using macports - does this install the devel library? If not how do I install the devel portion?
In MacPorts there is no separation between the binaries and libraries (what some other package managers might install as "freetype") and the headers needed to build other software (what some other package managers might install as "freetype-devel"). Instead, in MacPorts, everything you need is already in "freetype".
This might be asking too much, but how would I solve this problem? checking for FT_Init_FreeType in -lfreetype... no configure: error: "Freetype not found - try installing freetype-devel" Thanks Michael
On Jan 14, 2008, at 20:34, Michael Franz wrote:
On Jan 14, 2008 9:09 PM, Ryan Schmidt wrote:
On Jan 14, 2008, at 19:38, Michael Franz wrote:
I have a program that needs to link against freetype-devel. I have installed freetype using macports - does this install the devel library? If not how do I install the devel portion?
In MacPorts there is no separation between the binaries and libraries (what some other package managers might install as "freetype") and the headers needed to build other software (what some other package managers might install as "freetype-devel"). Instead, in MacPorts, everything you need is already in "freetype".
This might be asking too much, but how would I solve this problem? checking for FT_Init_FreeType in -lfreetype... no configure: error: "Freetype not found - try installing freetype-devel"
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.
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
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
We have ports for many of those things. Not sure if we have ports for all of them. Some are already part of Mac OS X and doesn't need separate ports (CUPS, patch, sed, unzip, md5sum). I don't see a port for alsa (Advanced Linux Sound Architecture?) or the Eclipse Java Compiler. I don't know if alsa works on Mac OS X. We have gcc42 and gcc41 ports, which provide libgcj, but gcc42 is the earliest version that will work on Intel Macs, which we should be supporting today. So hopefully libgcj 4.2.2 would satisfy the requirements. Hopefully once you figure out how to compile IcedTea, you can create a portfile for it. Here is my start at one, though it's not much. I see that IcedTea automatically downloads files and builds them. Hopefully there's a way to tell it where to download them to (it should be pointed at a subdirectory of the distfiles directory).
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?
Yes, that is the one. I think the eclipse compiler is easy, as it is pure java. Some of the other things are not 100% necessary. I think there are some work-arounds for them. I won't know until I get to each problem. Since I have Linux, I am hoping it will be easy to determine what is missing and how the build should work.
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
We have ports for many of those things. Not sure if we have ports for all of them. Some are already part of Mac OS X and doesn't need separate ports (CUPS, patch, sed, unzip, md5sum).
I don't see a port for alsa (Advanced Linux Sound Architecture?) or the Eclipse Java Compiler. I don't know if alsa works on Mac OS X. We have gcc42 and gcc41 ports, which provide libgcj, but gcc42 is the earliest version that will work on Intel Macs, which we should be supporting today. So hopefully libgcj 4.2.2 would satisfy the requirements.
I struggled with getting 4.2.2 to compile - I was using an older version of XCode - needed 2.4 to get it to compile.
Hopefully once you figure out how to compile IcedTea, you can create a portfile for it. Here is my start at one, though it's not much.
I see that IcedTea automatically downloads files and builds them. Hopefully there's a way to tell it where to download them to (it should be pointed at a subdirectory of the distfiles directory).
Thanks for the Portfile start - I was thinking that maybe using macports will help with the configuration script. Michael
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
I looked at the Porfile, that is areally good start. The xerces and xalan are the java versions, those already exist in the ports. As I said before, the eclipse compiler should be easy, so it looks like only the alsa is the missing dependency. thanks again Michael
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?
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
On Jan 16, 2008, at 21:39, Michael Franz wrote:
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"
Freetype used to install headers in ${prefix}/include/freetype2/ freetype/internal but no longer does so. The freetype developers decided these were internal headers, not to be used by other programs. Maybe IcedTea is looking for headers there. If so, it will have to be rewritten to no longer do that. You could look through the configure script to see whether it's looking for freetype headers in that directory. You may need to contact the developers of IcedTea.
Not having followed this thread... On 17.01.2008, at 04:58, Ryan Schmidt wrote:
configure: error: "Freetype headers not found - try installing freetype-devel"
This looks like a Linux message... freetype-devel most probably means the devel-package (i.e. headers) of the normal stable current freetype release. Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll
On Jan 17, 2008, at 03:06, Jochen Küpper wrote:
Not having followed this thread...
On Jan 16, 2008, at 21:58, Ryan Schmidt wrote:
On Jan 16, 2008, at 21:39, Michael Franz wrote:
configure: error: "Freetype headers not found - try installing freetype-devel"
Freetype used to install headers in ${prefix}/include/freetype2/ freetype/internal but no longer does so. The freetype developers decided these were internal headers, not to be used by other programs. Maybe IcedTea is looking for headers there. If so, it will have to be rewritten to no longer do that. You could look through the configure script to see whether it's looking for freetype headers in that directory. You may need to contact the developers of IcedTea.
This looks like a Linux message... freetype-devel most probably means the devel-package (i.e. headers) of the normal stable current freetype release.
Yes, we addressed that in one of the first messages of the thread. Now we're at the point that, even though the freetype port (which includes the headers) is installed, IcedTea cannot find them. I suggested one possible explanation.
On Jan 19, 2008, at 22:53, Michael Franz wrote:
I don't see a port for alsa (Advanced Linux Sound Architecture?)
Is there an equivalent package on Darwin that might work as a valid replacement? What is the sound library on Darwin?
This would be the place to look for information about how audio works in Mac OS X... http://developer.apple.com/audio/
Ryan, thanks for the info. I will have to do more reading. Thanks Michael On Jan 20, 2008 4:38 PM, Ryan Schmidt <ryandesign@macports.org> wrote:
On Jan 19, 2008, at 22:53, Michael Franz wrote:
I don't see a port for alsa (Advanced Linux Sound Architecture?)
Is there an equivalent package on Darwin that might work as a valid replacement? What is the sound library on Darwin?
This would be the place to look for information about how audio works in Mac OS X...
participants (3)
-
Jochen Küpper
-
Michael Franz
-
Ryan Schmidt