[Fink-users] Compiling on 10.2.3 with path = /usr/local

2003-01-20 Thread Matthew Herberg
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


Re: [Fink-users] Compiling on 10.2.3 with path = /usr/local

2003-01-20 Thread Jeremy Erwin

On Monday, January 20, 2003, at 01:35  PM, Kow K wrote:


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

that should be
export LDFLAGS=-L/sw/lib

-I is for include paths, -L is for library paths



---
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



Re: [Fink-users] Compiling on 10.2.3 with path = /usr/local

2003-01-20 Thread Gary Elshaw
Hi Matthew,

I think this might have something to do with your perl installation (a
nightmare i've been going through the last few days). If you are using
5.8.0 you may want to do the following:
In your environment.plist [~/.MacOSX/environment.plist] put the
following LC_ALL C and $lc_all. You should also tell fink to update
your storable:

mv /sw/lib/perl5/darwin/Storable.pm /tmp
mv /sw/lib/perl5/darwin/auto/Storable /tmp
fink rebuild storable-pm

Give all of that a whirl and try, try again.

Cheers,
Gary

On Mon, 20 Jan 2003 10:07:05 -0800, Matthew 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
On Tuesday, January 21, 2003, at 07:07  AM, 
[EMAIL PROTECTED] 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

_
The difficulty now is that unexceptional adults believe the loss of 
youthful dreaming is itself growing up, as though adulthood were the 
passive conclusion to a doomed activity and hope during adolescence.

The Uses of Disorder
  Personal Identity and City Life
-- Richard Sennett

OO
[_]|
 /|\
Gary Elshaw
Film  and Media Studies Tutor
Victoria University
New Zealand
http://callenshostis.no-ip.org
http://elshaw.tripod.com/
_



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users