Closed
Bug 21117
Opened 25 years ago
Closed 25 years ago
need to fix the build process on AIX to handle gtk
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdunn, Assigned: jdunn)
References
Details
On AIX, there is a problem with linking in static libraries to more than one shared object. What ends up happening is multiple copies of the data from the static library. Right now the gtk libraries are linked into gfx/src/gtk widget/src/gtk webshell/tests/viewer & xpfe/bootstrap. So what would be better is to link the gtk libraries into a shared object and then modify TK_LIBS to point to that shared object. To Make the shared library... /usr/ibmcxx/bin/makeC++SharedLib_r -p1 -brtl -bso -o libshared_gtk.so /usr/wpc/lib/libgtk.a /usr/wpc/lib/libgdk.a /usr/wpc/lib/libgmodule.a /usr/wpc/lib/libglib.a -lXext -lX11 -lm config/autoconf.mk TK_LIBS = -L$(DIST)/bin -lshared_gtk -lXext -lX11 -lm Or we could just build it once and put it in /usr/wpc/lib and modify /"usr/wpc/bin/gtk-config --libs" to dump out -L$(DIST)/bin -lshared_gtk -lXext -lX11 -lm
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
To fix this I did the following: To Make the shared library... /usr/ibmcxx/bin/makeC++SharedLib_r -p1 -brtl -bso -o libshared_gtk.so /usr/wpc/lib/libgtk.a /usr/wpc/lib/libgdk.a /usr/wpc/lib/libgmodule.a /usr/wpc/lib/libglib.a -lXext -lX11 -lm And then modify gtk-config --libs to return -L$(DIST)/bin -lshared_gtk -lXext -lX11 -lm on our machines that is in /usr/wpc/bin/gtk-config
*** Bug 18970 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•