[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with Startup and libjpeg
From: |
Adam Fedor |
Subject: |
Re: problem with Startup and libjpeg |
Date: |
Fri, 21 Nov 2008 10:11:14 -0700 |
On Nov 20, 2008, at 2:36 PM, Carol Clark wrote:
I'm trying to install the GNUstep Startup package on my Mac. I have
used MacPorts to install ffcall, and have installed tiff 3.6.1 from
Terminal (UNIX). Now, when I try to run the Startup script from
Terminal, I get a message that libjpeg is also required and is not
found. I have installed libjpeg both through MacPorts and UNIX (6b),
but it has not helped. (I also tried the --disable-jpeg flag to ./
configure, but when I subsequently ran make I got the same result.)
The requested log file from command 'sudo ./InstallGNUstep' is
attached.
I should probably update Startup to work better with MacPorts. Right
now it's a bit tricky. You could just do something like
CPPFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./InstallGNUstep
however, when you compile with Apple CC, it links in Apple frameworks
via tiff and jpeg, which conflict with the GNUstep frameworks. So
while it will compile this way, it won't run. The only two real
options are:
- compile tiff and jpeg on your own and install in /usr/local (making
sure it doesn't use or link with anything from MacPorts).
- Don't use Apple CC (for instance, you could use gcc from MacPorts,
then you could use tiff and jpeg from MacPorts as well), e.g. CC=/opt/
local/bin/gcc ./InstallGNUstep