Could someone **please** tell me what I need to do to make sure that Gnome is seen by the programs I compile (from tarball)? I run Gnome constantly but, for some reason, nothing I compile ever sees it. What directories do I need to put in the path (if this is the problem)? I assume this is a RedHat/SuSE issue (putting things in different places) but I could be wrong. I am running SuSE 7.1 and Gnome 1.4 (waiting impatiently for an upgrade...) Thanx.
I assume you mean that things like the CORBA interface don't work, which is normally down to a mis-set sysconfdir... Here's what I do to build Gnome apps on SuSE (which I do lots) ./configure --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome --any --other --options-you=need make su make install
Could someone **please** tell me what I need to do to make sure that Gnome is seen by the programs I compile (from tarball)? I run Gnome constantly but, for some reason, nothing I compile ever sees it. What directories do I need to put in the path (if this is the problem)?
-- James Ogley, Unix Systems Administrator, Pinnacle.Net james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 20 8731 3619 This email was created and sent with: Evolution 0.10 *********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
James Ogley wrote:
I assume you mean that things like the CORBA interface don't work, which is normally down to a mis-set sysconfdir...
Here's what I do to build Gnome apps on SuSE (which I do lots)
./configure --prefix=/opt/gnome --sysconfdir=/etc/opt/gnome --any --other --options-you=need
One more non-standard option required to build gnome-packages on SuSE: --localstatedir=/var/lib This rarely shows because only few programs apply localstatedir. Ralf
Oooh, I've never come across something that needed this when I was building it, which apps have you found that need it?
One more non-standard option required to build gnome-packages on SuSE: --localstatedir=/var/lib This rarely shows because only few programs apply localstatedir. -- James Ogley, Unix Systems Administrator, Pinnacle.Net james.ogley@pinnacle.co.uk www.pinnacle.co.uk +44 20 8731 3619
This email was created and sent with: Evolution 0.10 *********************************************************************** CONFIDENTIALITY. This e-mail and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose, or store or copy the information in any medium. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Pinnacle Insurance Plc. If you have received this e-mail in error please immediately notify our Helpdesk on +44 (0) 20 8207 9555. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
James Ogley wrote:
Oooh, I've never come across something that needed this when I was building it, which apps have you found that need it?
Difficult to say and difficult to find out. The only SuSE-provided Gnome-package that I know which is writing to /var/lib is scrollkeeper (It seems to be using /var/lib/scrollkeeper). However, the actual problem is to find out which packages else access localstatedir for reading and try to share files under localstatedir. Probably, all packages trying to access systems' services are suspectable to doing so (MUAs, package-management (rpm) tools, configuration tools etc.) and explictily need to be checked for. A rough way to do so would be to examine SuSE's rpm.specs. But, .. from what I what I've seen there, SuSE does't always handle it consistently :( The exact way would be to analyse each packages' sources - Hardly applicable for casual installers :(
One more non-standard option required to build gnome-packages on SuSE: --localstatedir=/var/lib This rarely shows because only few programs apply localstatedir.
Another package that definitely accesses localstatedir is redcarpet :)) Ralf
participants (3)
-
James Ogley
-
Ralf Corsepius
-
ZephyrQ