tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Firefox 3 pkg: configure vs. configure.in
Ok, the wrappers are definitively at fault here - from .work.done:
[*] /usr/pkgobj/www/firefox3/work/.wrapper/bin/c++
/usr/pkgobj/www/firefox3/work/.wrapper/bin/c++ -o ssltunnel
-DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE -I/usr/X11R6/include
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -O2 -pipe -fno-strict-aliasing -Dunix -fshort-wchar -pthread
-pipe -DNDEBUG -DTRIMMED -O2 ssltunnel.o -lpthread -Wl,-R/usr/pkg/lib/firefox3
-Wl,-rpath-link,../../../dist/bin -L../../../dist/bin -L../../../dist/lib
-L../../../dist/lib -lplds4 -lplc4 -lnspr4 -pthread -L../../../dist/bin
-L../../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 -lm
-Wl,--export-dynamic
this command works (replacing the start with c++ or g++), but what it executes
is:
<.> /usr/pkgobj/www/firefox3/work/.gcc/bin/g++ -o ssltunnel
-DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE
-I/usr/pkgobj/www/firefox3/work/.x11-buildlink/include -fno-rtti
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -pipe
-fno-strict-aliasing -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2
ssltunnel.o -Wl,-R/usr/pkg/lib/firefox3 -L../../../dist/bin -L../../../dist/lib
-pthread -Wl,--export-dynamic
-I/usr/pkgobj/www/firefox3/work/.buildlink/include
-L/usr/pkgobj/www/firefox3/work/.buildlink/lib -lpthread -lplds4 -lplc4
-lnspr4 -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3 -lm
with the (missing in second)
-Wl,-rpath-link,../../../dist/bin
being the critical difference. Adding that to the executed command makes it
work.
Martin
Home |
Main Index |
Thread Index |
Old Index