Issues using garnome on Solaris x86



I couldn't find any binary packages of Gnome 2.4 for Solaris x86, so I decided to grab gargnome & try to build it myself. So far, I've run into the following issues with the build system:

- The Makefiles assume a POSIX shell is being used by default

Setting SHELL = /bin/bash in gar.conf.mk fixed this problem

- The Makefiles assume tar is GNU tar (or at least something better than Solaris' tar, which can't extract the tarballs)

Changed tar to $(TAR) in gar.lib.mk, set TAR = gtar in gar.conf.mk

- The Makefiles assume patch is GNU patch

Changed patch in gar.lib.mk to $(PATCH), set PATCH = gpatch in gar.conf.mk

- gnome/libxml2/files/buildDocBookCatalog assumes GNU find (uses -iname)

I just made sure GNU find was fist in my path. It is trivial to change the pattern used to be "[Ii][Ss][Oo]*[Aa][Mm][Ss][Bb].[Ee][Nn][Tt]" if you really need it to be case insensitive.

- Some Makefiles assume install is BSD install (noticed in gnome/ttf-bitstream-vera/Makefile)

I just made sure /usr/ucb/install was the install found, but the Makefile should be changed to use $(INSTALL), and INSTALL set in gar.conf.mk.

- A general GNOME problem is that all the *-config systems fail to set RPATH in their --libs output

I've just manually hacked the *.pc files and *-config scripts to include a -R for each -L. I really wish the GNOME folks didn't assume everyone will hack their ld.so config or set LD_LIBRARY_PATH...

I'm still not done building the beast - if I find any other issues, I'll let folks know.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]