Subject: Re: pkgsrc mozilla 1.3 - problem with cc
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Lubos Vrbka <shnek@ncbr.chemi.muni.cz>
List: netbsd-help
Date: 04/08/2003 12:20:11
hi,

the problem lies exactly at the place where i expected it in the last posting. the full listing of the work/mozilla/config.log follows:

configure:832: checking host system type
configure:853: checking target system type
configure:871: checking build system type
configure:2301: checking for gcc
configure:2414: checking whether the C compiler (cc -O2 -I/usr/pkg/include -I/usr/X11R6/include  -Wl
,/usr/X11R6/lib/mozilla  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) wo
rks
configure:2430: cc -o conftest -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include/gdk
-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include  -Wl,/usr/X11R6/lib/mozilla  -Wl,-R/usr/X11R6/l
ib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c  -lintl 1>&5
ld: cannot open /usr/X11R6/lib/mozilla: No such file or directory
configure: failed program was:

#line 2425 "configure"
#include "confdefs.h"

main(){return(0);}

config is right, there's no /usr/X11R6/lib/mozilla. i just tried to create the directory there, but:
configure:832: checking host system type
configure:853: checking target system type
configure:871: checking build system type
configure:2301: checking for gcc
configure:2414: checking whether the C compiler (cc -O2 -I/usr/pkg/include -I/usr/X11R6/include  -Wl
,/usr/X11R6/lib/mozilla  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) wo
rks
configure:2430: cc -o conftest -O2 -I/usr/pkg/include -I/usr/X11R6/include  -I/usr/X11R6/include/gdk
-pixbuf-1.0  -I/usr/pkg/include -I/usr/X11R6/include  -Wl,/usr/X11R6/lib/mozilla  -Wl,-R/usr/X11R6/l
ib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c  -lintl 1>&5
ld:/usr/X11R6/lib/mozilla: file format not recognized; treating as linker script
ld:/usr/X11R6/lib/mozilla:1: parse error
configure: failed program was:

#line 2425 "configure"
#include "confdefs.h"

main(){return(0);}


what to do now? tia,
lubos