fc3/x86_64 + Garnome 2.13.92 == success !



I finally got Garnome 2.13.x up & running under fc3/x86_64 (opteron).
It was a walk in the park, really, but here are the locations of the
whippy branches that caught me in the eye ...

 * basic compilation

Ensure that packages we compile up take precedence over system ones:
  LD_LIBRARY_PATH = $(PREFIX)/lib
  C_INCLUDE_PATH  = $(PREFIX)/include

Ensure that the linker always looks for 64 bit libs before going for 32 bit ones
  LDFLAGS = -L$(PREFIX)/lib -L/lib64 -L/usr/lib64 -L/usr/local/lib64
-L/usr/X11R6/lib64 -lXtst

I tried using LD_LIBRARY_PATH for the above, but it seems to take
effect too late; LDFLAGS was the only way I could get something in the
compile lines ahead of a '-L/lib'.

I also needed to add '-lXtst'; something (I forget what) needs to link
against it, but doesn't add it to the compile line.

 * configure gstreamer with '--disable-valgrind'

This caused me odd assembler problems, I think because it picked up
the fc3 default valgrind in /usr/lib, which is 32bit, and then tried
to inline bits of it. Or something.

 * ensure your favourite Python is compiled with '--enable-shared'

I compile up a local Python, but the default options don't include
enable-shared, and you need it for gnome-python.

 * liboil missing

I added a local garball for liboil.

 * bootstrap/popt

This needed a 'make makesums'.

Worse, it put its libraries into $prefix/lib64, despite all
instructions to put them in $prefix/lib; so I added a post-install
hack to the Makefile to symlink them in:

post-install:
	@echo "Linking in from stupid lib64..."
	@LIB_LIST="libpopt.so"; \
	cd $(libdir); \
	for file in $$LIB_LIST; do \
		ln -sf ../lib64/$$file .; \
	done
	@$(MAKECOOKIE)

 * ekiga -> broken

It depended on pwlib -v4l2, which depended on video weirdness that I
couldn't face debugging.

 * libsexy missing

Another local garball added.

 * gnopernicus too clever

Despite all efforts to the contrary, it insists on picking up
/usr/lib/popt, instead of using $preifx/lib/popt, and thus breaks with
32/64 compilation issues.

 * gnet

The ./configure for gnet sets '-Werror' as a CFLAG, but then chokes on
errors when compiled. I hacked this via a post-patch in the Makefile:

post-patch:
	perl -i -p -e's/-Werror//g' $(WORKSRC)/configure $(WORKSRC)/configure.ac

 * rhythmbox depends on freedesktop/avahi

A missed dependency, nothing big.

I also added 'gaim-guifications' and 'gnubiff' to my build, since
they're nice eye-candy.

The above was sufficient to compile:
  desktop/*
  office/*
  fifth-toe/*
  geektoys/{coaster/liferea/libgpod/gtkpod}

Quite a lot of mono compiled, but beagle bailed (missing libraries).

Hope this helps some others ... roll on 2.14 :)

 - Adam



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