2009/7/24 lux-integ <[email protected]>: > Greetings, > > I am about to embark on compiling geda from sources (url > http://www.gpleda.org/sources.html) on a clfs machine. gEDA/gaf requires > guile-1.8.x while gwave requires guile-1.6.3. Also gerbv requires gtk-2.4.14 > and pkg-0.15 (as ancient as that!) whilst gEDA/gaf requires gtk-2.8.x or > higher. GspiceUI requires wxGTK-2.61 which is quite old (the oldest > version on the relevant site is wxGTK-2.6.4 > http://www.wxwidgets.org/downloads/) > > QUESTIONS:- > Q1::: will having multiple versions of guile pose problems and/or is it > best to install the multiple versions in different directories ? > > Q2::: will having multiple versions of gtk2 pose problems? > > Q3::: will pkg-0.23 be a reliable substitute for pkg-0.15? (for gerbv) > > Q4:: will wxGTK-2.6.4 be a good substitute for wxGTK-2.6.1 (for GspiceUI) > > > replies and suggestions will be gratefully received. > > yours sincerely > > lux-integ > ps this hopefully will become a contribution to compiling/installing CAD > programs on LFS/CLFS setups. > -- For most of these questions, I have no answer. If these packages are at all regular in their configure process then they will check for something like pkg-config -exists --print-errors "gtk+-2.0 >= 2.14.0" where the version might be held as e.g. GTK_REQUIRED and accessed as \$GTK_REQUIRED . If these things do indeed only accept the specific versions of gtk2 and pkg-config I'd be sorely tempted to hack the configure script to see if it will build with the regular versions (for both gtk+-2 and pkgconfig new versions mostly just drop in over the old, although some functions get deprecated and eventually drop out.
For guile, if you do need multiple versions, check what will be installed (e.g. make DESTDIR=/home/myname/guileinstall install) - if the .sonames and associated symlinks don't conflict, and the headers are installed into a differently versioned directory, then they can probably live in the same prefix. I have to say that it seems very unlikely they will meet both those conditions. If you do put the versions in different refixes, make sure the extra version is the one found when looking for headers and libs during the compile - study the configure script, and override the relevant _CFLAGS and _LIBS variables. ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
