[Enigmail] Building Enigmail for TB comm-central: static or shared, libxul or not?

Michael J Gruber michaeljgruber at fastmail.fm
Fri Jan 23 04:56:19 PST 2009


Hi there,

I'm trying to build Enigmail for current TB nightlies. (I'm on 64bit
Fedora 10 so I can't run Mozilla's 3.0b1 binaries easily anyways, and
can't used binary Enigmail xpi either).

I can build and run TB from a hg checkout of comm-central. Yeah ;)

For building Enigmail (from cvs), I've been following the instructions
on the Enigmail website and ended up with the attached error which seems
to be related to a conflict in build options (shared/static).

I've built TB with "ac_add_options --enable-static --disable-libxul"
because d.m.o. says TB can't be built shared with libxul (and also
because I wanted to "make package"). Is this still true? How
(static/shared/libxul) do you build TB when you build Enigmail for TB 3
nightlies?

Thanks for any hints,
Michael


gmake[3]: Entering directory
`/home/mjg/src/mozstuff/objdir-comm-central-tb/mailnews/extensions/enigmail/ipc/build'
rm -f libipc.so
c++  -fno-rtti -fno-exceptions -Wall -Wpointer-arith
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long
-pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -Os -freorder-blocks -fno-reorder-functions  -fPIC -shared
-Wl,-z,defs -Wl,-h,libipc.so -o libipc.so  nsIPCModule.o     -lpthread
 -Wl,-rpath-link,../../../../../mozilla/dist/bin:/usr/lib:/usr/local/lib:/lib
 -Wl,--whole-archive ../src/libipc_s.a  -Wl,--no-whole-archive
-L../../../../../mozilla/dist/bin -L../../../../../mozilla/dist/lib
../../../../../mozilla/dist/lib/libxpcomglue_s.a
-L../../../../../mozilla/dist/bin -lxpcom
-L../../../../../mozilla/dist/bin -lxpcom -lxpcom_core
`../../../../../mozilla/nsprpub/config/nspr-config
--prefix=../../../../../mozilla/dist
--libdir=../../../../../mozilla/dist/lib --libs`   -Wl,--version-script
-Wl,/home/mjg/src/mozstuff/comm-central/mozilla/build/unix/gnu-ld-scripts/components-version-script
-Wl,-Bsymbolic -ldl -lm
/usr/bin/ld: ../src/libipc_s.a(nsPipeTransport.o): relocation
R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
../src/libipc_s.a(nsPipeTransport.o): could not read symbols: Bad value


More information about the Enigmail mailing list