[Scribus] Re: Scribus installation under the home directory

Craig Ringer craig
Wed May 25 06:59:04 CEST 2005


On Tue, 2005-05-24 at 21:46 -0700, Asif Lodhi wrote:
> Thanks Owen and Craig,
> 
> I guess if I use configure's switches (--libdir, etc), I will have to
> put all libraries in the directory pointed to by --libdir - if I
> install more programs in the same tree that use the same libraries,
> that is.

Er... --libdir tells configure that you want Scribus to install its
libraries there. --with-extra-libs is what you want to tell configure
where to find additional libraries to use (you'll need
--with-extra-includes too, usually). There is no requirement that
Scribus's libs be installed where you're installing the other libs.

> Do you know of any dependency querying tool that can help me
> find out which library is being referenced by which program?

`man ldd'

> However, using the options --with-extra-libs and --with-extra-includes
> in addition to using CPATH, LIBRARY_PATH, LD_LIBRARY_PATH and PATH
> sounds closer to what I am trying to achieve.  I will try these and
> get back if I have further problems, shall I?

Yep.

> ZLib and JPEG stock libraries do exist but the latest versions of
> GhostScript/PSToEdit requires newer versions of these libraries, if I
> recall correctly, that is.

That's pretty weird ... zlib doesn't change much. Are you SURE it needs
newer versions, rather than failing to find the installed ones because
of missing headers? I've built gs 8.51 on my FC3 system without problems
or complaints about library versions, though I haven't built PSToEdit.

> BTW, where are LIBRARY_PATH, CPATH, LD_LIBRARY_PATH documented?  IIRC,
> I haven't seen them in the output of "configure --help".

`info gcc' and look for the environment section.

--
Craig Ringer





More information about the scribus mailing list