bug-sourceinstall
[Top][All Lists]
Advanced

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

[bug-sourceinstall] Re: Sourceinstall on Fedora Core 5


From: Claudio Fontana
Subject: [bug-sourceinstall] Re: Sourceinstall on Fedora Core 5
Date: Sun, 15 Oct 2006 10:25:18 -0700 (PDT)

--- Vidyadhar Gadgil <address@hidden> wrote: 

> Have installed sourceinstall-cvs (the one after 2.2)

remember that "-cvs" is a periodic snapshot of the
current CVS (development) code, and can change daily.

> But then problems with sourceinstall-gtk-cvs. Since
> FC5 does not seem to
> like /usr/local, this programme failed at the
> configure stage. Claudio
> suggested the following: 
> 
> [add /usr/local/lib/pkgconfig to PKG_CONFIG_PATH]
>

I tried to strengthen the configure scripts,
and to detect PKG_CONFIG_PATH problems and provide
automatic defaults.
There is however still the need to have ${prefix}/lib
in either ld.so.conf or LD_LIBRARY_PATH (of course).

> [...] 
> SUGGESTIONS
> 
> Have jumped to this post-2.2 version straight from v
> 0.4.
> 
> Why can't all three (libsrcinst, sourceinstall and
> sourceinstall-gtk) be
> available as one, as was the case with v 0.4? This
> would bypass the
> problem of libraries not found).

It is not as trivial as it sounds (ideally, a
super-package should work well with the automatic
configuration of subpackages), but I'll try to
look into it. As always, help is welcome.

> Also, if you run sourceinstall as user, at the
> install stage it says
> 'Permission denied' and signs off. v 0.4 used to ask
> for the root
> password, and proceed once this was supplied. This
> is a desirable
> feature which should be restored; as of now one can
> work only as root.

The problem with the previous approach was that
you could screw up packages belonging to root.

Nonetheless, I work as a regular user for most of my
packages.
The trick is to 

1) install system-wide packages (libraries, core
   software) as the root user,
   using /usr/local as default prefix
   (normally the default for root).
   Remember that preferences are user-based,
   ie, root has his own preferences.

   Example: X.Org, Gtk, Emacs, are good candidates
   for system-wide installs.

2) install other packages as a normal user,
   using for example $HOME/usr as default prefix,
   (Edit->Preferences->Default Prefix),
   $HOME being your home directory. 

   If you decide to also install libraries and such
   in an user directory, remember to add
   (default prefix)/lib to LD_LIBRARY_PATH and
   (default prefix)/lib/pkgconfig to PKG_CONFIG_PATH,
   in one of your personal initialization profile
   scripts (for example, ~/.profile, or ~/.bashrc)

Bye,

Claudio



__________________________________________________
Do You Yahoo!?
Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto 
spazio gratuito per i tuoi file e i messaggi 
http://mail.yahoo.it 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]