Well you know, from my point of view as sage-on-gentoo's lead, it is non-issue.
It is only an issue for sage as an independent software suite put in a separate prefix on the system. But yes there are a couple of issues: 1) the easiest way to solve William's problem is to only install our own pkg-config when no suitable one is available on the system. We do that for a couple of other things. So it could be done (gcc anyone), it is just not the default position for most packages. 2) we need to make sure it is present and PKG_CONFIG_PATH include sage's pkgconfig folder very early. You will have to set the environment one way or another unless you rely solely on system packages. A nice solution which is of course the way I do things 99% of the time in sage-on-gentoo. If you put it in a prefix, you will need a few things to make sure your prefix is working as intended. One of them is some environment variables. François On 2/05/2014, at 21:57, Felix Salfelder <fe...@salfelder.org> wrote: > On Fri, May 02, 2014 at 09:48:50AM +0000, Francois Bissey wrote: >> I know what you want to say Felix but once the pre-requisite are in place >> we are more less performing all the install from a "sage shell" in which >> sage-env is used to set the environment. > > a sage shell is not necessary to run the spkg-install's (see my > proof-of-concept thing). and it shoudn't be used. likewise, any of the > other package managers proposed back then (ebuilds-based?) wouldnt be > ran from a sage-shell. > >> When spkg-install is at work, sage-env is read. At least that's how I >> understand >> it works. > > part of the problem. i've fixed this by *not* sourcing sage-env from > toplevel, see the demo tarball. > > good luck with this. > felix > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout. This email may be confidential and subject to legal privilege, it may not reflect the views of the University of Canterbury, and it is not guaranteed to be virus free. If you are not an intended recipient, please notify the sender immediately and erase all copies of the message and any attachments. Please refer to http://www.canterbury.ac.nz/emaildisclaimer for more information. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.