Unix Programming - When package depends on others & you can't install any of them

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > May 2004 > When package depends on others & you can't install any of them





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author When package depends on others & you can't install any of them
Charles Packer

2004-05-20, 5:37 pm

I would like to build GIMP (GNU Image Manipulation Program) on our office
Solaris system. For political reasons, I can't install (i.e. "make
install") any of the packages on which it depends. And it depends on a
whole lot: GTK, which depends on pango, which depends on fontconfig,
which depends on freetype. Ordinarily, one would do a "make install" on
each package from the bottom up. The problem I ran into right away was
that fontconfig depends on header files of freetype. In the past I've
built packages where I could specify an additional include path at
configure time, but I don't remember the particulars, and anyway it was
a MUCH simpler situation. In this situation, is it even practical to
build GIMP? If so, could somebody outline a general strategy that would
apply ALL THE WAY UP the tree and I'll take it from there by reading the
relevant man pages.
those who know me have no need of my name

2004-05-22, 10:28 pm

in comp.unix.programmer i read:

>I would like to build GIMP (GNU Image Manipulation Program) on our office
>Solaris system. For political reasons, I can't install (i.e. "make
>install") any of the packages on which it depends.


build all dependencies static and install to a temporary location, which
you can remove when you are done, e.g.,

mkdir /tmp/x
CPPFLAGS="-I/tmp/x/include${CPPFLAGS+ $CPPFLAGS}"
LDFLAGS="-L/tmp/x/lib${LDFLAGS+ $LDFLAGS}"
export CPPFLAGS LDFLAGS

cd freetype*
./configure --prefix=/tmp/x --disable-shared && make && make install
cd ..

cd fontconfig*
./configure --prefix=/tmp/x --disable-shared && make && make install
cd ..

...

cd gimp*
./configure --prefix=/usr/local/or/whatever && make && make install
cd ..

rm -rf /tmp/x

--
a signature
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com