First, how did you try to install your stuff into /usr/local?
When I tried the same thing, I couldn't install Fink into /usr/local for base pacakges. The installer didn't follow the symlink /sw --> /usr/local I set up beforehand. After installation of base packages, I renamed /sw to /usr/local and everything went right thereafter.
For now, it is planned that you can choose an installation directory other than /sw at setup stage. It's not availabel yet, but you'll see it in a future release.
BTW, do you *REALLY* need to install Fink into /usr/local? If your concern is library export and sharing (/sw/lib, /sw/include), you can set it up manually with Fink in /sw. For example, here are bash exports that enable such interaction:
export CFLAGS="-I/sw/include"
export LDFLAGS="-I/sw/lib"
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
Fink web page has an instruction for this.
Cheers,
Kow
On Monday, January 20, 2003, at 02:52 AM, Matthew Herberg wrote:
I know it's not recommended, but I can't install the latest fink source package under /usr/local. I've even cleared /usr/local entirely, in order to ensure there are no conflicts arising from within the folder. I can compile all the base packages if I chose /sw, but not if I chose /usr/local. Here is the error I get, after it successfully downloads the base packages and compiles and configures from gettext to bzip, but fails on libiconv:
...
gcc -O -I. -I. -I../include -I./../include -I../lib -I/usr/local/include ./iconv.c -o .libs/iconv -L/usr/local/lib -L../lib/.libs -liconv
./iconv.c: In function `main':
./iconv.c:195: `LC_CTYPE' undeclared (first use in this function)
./iconv.c:195: (Each undeclared identifier is reported only once
./iconv.c:195: for each function it appears in.)
make[1]: *** [iconv] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
compiling libiconv-1.7-5 failed
Any idea what's wrong and why it works if I chose /sw? I can post more of the terminal output if it will help.
Thanks,
M. Herberg
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users
------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users