Adding -Dccflags=-I/usr/include which results in ccflags='-I/usr/include -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -I/usr/local/include' fixes the problem. Apparently I have rotten header files in /usr/include I guess you can close this bug. Thanks for the help! Alex On Fri, 19 Jul 2002, Nicholas Clark wrote: > On Fri, Jul 19, 2002 at 07:37:52AM -0400, Alexandros Manoussakis wrote: > > Thanks, > > I discovered the source of my problems. On the site I am we have a lot of > > libraries in /usr/local and even though my -Dprefix points to > > /opt/something, I see that in config.sh the -I and -L point to > > /usr/local/{include,lib} so /usr/local libraries have priority over the > > standard FreeBSD ones in /usr. > > Aha > > > If I rename my /usr/local to something else, I can compile a threaded > > perl fine in 4.4, 4.5, and 4.6 ! With what switch can I prevent Configure > > from looking into /usr/local at all? Or if that's impossible, how can I > > give priority to libraries and include files in /usr/lib over those in > > /usr/local/lib ? > > Don't run Configure with the -d switch, and you will be able to answer > Configure's questions interactively. You can press return to accept the > defaults for most options, and [obviously :-)] edit the options where the > default is /usr/local to get rid of the /usr/local > > I don't know which options to pass to Configure to change the defaults this > way without experimenting, which I would do by running Configure interactively > the way I've just described :-) > > Nicholas Clark > -- > Even better than the real thing: http://nms-cgi.sourceforge.net/ >Thread Previous | Thread Next