Re: gEDA-user: Problems compiling PCB Release 20100929
Colin D Bennett wrote: Synaptic package of pcb along with the compiled version? You should look at the 'prefix' where pcb is configured for installation. Default prefix is /usr/local. pcb will install its binary into /usr/local/bin and the libs into /usr/local/lib. By default, these locations are searched first on Ubuntu, Debian and about every decent linux distro. A simple call of pcb will start the version in /usr/local/bin/pcb . If you'd prefer the distros version, you can call it with /usr/bin/pcb . So there is no need to edit the prefix variable. I have three versions of pcb installed on my desktops and use them as needed without any interference: 1) from distro 2) from the current git head 3) the GL enabled version by Peter Clifton, before_pours branch. ---)kaimartin(--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On Mon, 2010-11-15 at 15:21 +0100, Kai-Martin Knaak wrote: Colin D Bennett wrote: Synaptic package of pcb along with the compiled version? You should look at the 'prefix' where pcb is configured for installation. Default prefix is /usr/local. pcb will install its binary into /usr/local/bin and the libs into /usr/local/lib. By default, these locations are searched first on Ubuntu, Debian and about every decent linux distro. A simple call of pcb will start the version in /usr/local/bin/pcb . If you'd prefer the distros version, you can call it with /usr/bin/pcb . So there is no need to edit the prefix variable. I have three versions of pcb installed on my desktops and use them as needed without any interference: 1) from distro 2) from the current git head 3) the GL enabled version by Peter Clifton, before_pours branch. In my case, I have PCB Head built with default configuration. And also have GL enabled pcb using --program-suffix=-gl at configure time. Thus I have a clear distinction between the two binaries. One is called pcb and the other is called pcb-gl. You can add whatever suffix you want to the program name. ---)kaimartin(--- -- Felipe De la Puente Christen MSN/GTalk : fdelapue...@gmail.com ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On Wed, 10 Nov 2010 21:19:20 + Peter TB Brett pe...@peter-b.co.uk wrote: Ignore me, I'm an idiot. Y'all are talking about PCB, not gEDA. Sorry! AFAIK, there are similar lines in the README of PCB as well. -- Kovacs Levente leventel...@gmail.com Voice: +36705071002 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
Felipe De la Puente Christen wrote: 2) from the current git head 3) the GL enabled version by Peter Clifton, before_pours branch. In my case, I have PCB Head built with default configuration. And also have GL enabled pcb using --program-suffix=-gl at configure time. Thus I have a clear distinction between the two binaries. One is called pcb and the other is called pcb-gl. You can add whatever suffix you want to the program name. Thanks. I didn't know about that one. Always moved the binary to some other filename manually .. ---)kaimartin(--- -- Kai-Martin Knaak Öffentlicher PGP-Schlüssel: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x6C0B9F53 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On Wed, 10 Nov 2010 20:46:12 -0500 d...@umich.edu wrote: P.S. Will my Ubuntu 10.04 system get confused if I install both the Synaptic package of pcb along with the compiled version? You should look at the 'prefix' where pcb is configured for installation. Don't use a prefix of '/usr' since that will (1) stomp on files installed by the .deb version installed by the Ubuntu package manager, and (2) I never, ever install any hand-compiled program in /usr since you will totally lose track of what you have manually installed in that enormous, fairly flat namespace. You can probably use a prefix of /usr/local successfully, and then things will probably be in your PATH by default, (/usr/local/bin comes before /usr/bin in the default Ubuntu path). However, even though /usr/local avoids stomping on managed packages, it is still like a big dumping ground that is very unorganized. Good luck trying to clean up old version of programs installed there... I use the following specific method of organizing manually installed packages. You may prefer to eliminate the VERSION level of hierarchy and use just /opt/pcb as the prefix, but I have found it very useful and not at all cumbersome to allow multiple versions to be installed simultaneously. (1) I install all non-Ubuntu-managed programs into /opt/PACKAGENAME/VERSION. For instance, when building pcb, I use a command like ./configure --prefix=/opt/pcb/20091103 This will create a hierarchy under /opt/pcb/20091103 with 'bin' and 'share' directories. (2) I create a symbolic link to '20091103' at /opt/pcb/current. Then if I have multiple pcb versions installed under /opt/pcb, I can just have /opt/pcb/current/bin in my PATH and the currently selected pcb version will be executed. (3) Put this in your .profile if you often run pcb from the command line: PATH=/opt/pcb/current/bin:$PATH Otherwise you can add a Gnome/KDE icon to your programs menu or launch bar that runs /opt/pcb/current/bin/pcb. Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
Thanks Colin, That makes a lot of sense. Very clearly explained! I like the idea of making distinctly separate locations for each build of a program. Dave On 11/12/2010 04:01 PM, Colin D Bennett wrote: On Wed, 10 Nov 2010 20:46:12 -0500 d...@umich.edu wrote: P.S. Will my Ubuntu 10.04 system get confused if I install both the Synaptic package of pcb along with the compiled version? You should look at the 'prefix' where pcb is configured for installation. Don't use a prefix of '/usr' since that will (1) stomp on files installed by the .deb version installed by the Ubuntu package manager, and (2) I never, ever install any hand-compiled program in /usr since you will totally lose track of what you have manually installed in that enormous, fairly flat namespace. You can probably use a prefix of /usr/local successfully, and then things will probably be in your PATH by default, (/usr/local/bin comes before /usr/bin in the default Ubuntu path). However, even though /usr/local avoids stomping on managed packages, it is still like a big dumping ground that is very unorganized. Good luck trying to clean up old version of programs installed there... I use the following specific method of organizing manually installed packages. You may prefer to eliminate the VERSION level of hierarchy and use just /opt/pcb as the prefix, but I have found it very useful and not at all cumbersome to allow multiple versions to be installed simultaneously. (1) I install all non-Ubuntu-managed programs into /opt/PACKAGENAME/VERSION. For instance, when building pcb, I use a command like ./configure --prefix=/opt/pcb/20091103 This will create a hierarchy under /opt/pcb/20091103 with 'bin' and 'share' directories. (2) I create a symbolic link to '20091103' at /opt/pcb/current. Then if I have multiple pcb versions installed under /opt/pcb, I can just have /opt/pcb/current/bin in my PATH and the currently selected pcb version will be executed. (3) Put this in your .profile if you often run pcb from the command line: PATH=/opt/pcb/current/bin:$PATH Otherwise you can add a Gnome/KDE icon to your programs menu or launch bar that runs /opt/pcb/current/bin/pcb. Regards, Colin ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: Problems compiling PCB Release 20100929
I want to try the latest release of pcb, but I am getting this compile error when I try the './configure' command: checking for DBUS... no configure: error: Cannot find dbus-1 = 0.61, install it and rerun ./configure Please review the following errors: No package 'dbus-1' found . My OS is Ubuntu 10.04LTS. I looked in the repositories and there is no dbus-1. I have dbus installed. Any thoughts on how to fix this? I am excited to try the new G-code exporter. Thanks, Dave ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On 10.11.2010 21:36, DJ Delorie wrote: Try ./configure --disable-dbus or try installing package libdbus-1-dev ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
Frank Bergmann wrote: Try ./configure --disable-dbus or try installing package libdbus-1-dev This is a common experience with the configure stage of geda and pcb. The script complains about a missing library even though the library is installed. What the script really misses is the but what it really misses is the header file of the lib. In Debian related distros these files tend be packaged separately in foobar-dev. Would it be possible to change the error message accordingly? ---)kaimartin(--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key:http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmkop=get ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
Would it be possible to change the error message accordingly? If you can come up with one that works equally well on rpm-based and deb-based systems. Patches welcome :-) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On Wednesday 10 November 2010 21:20:54 Kai-Martin Knaak wrote: Frank Bergmann wrote: Try ./configure --disable-dbus or try installing package libdbus-1-dev This is a common experience with the configure stage of geda and pcb. The script complains about a missing library even though the library is installed. What the script really misses is the but what it really misses is the header file of the lib. In Debian related distros these files tend be packaged separately in foobar-dev. Would it be possible to change the error message accordingly? Or, y'know, people could try reading the README file, in which it clearly states: Troubleshooting dependencies I've installed the `libfoo' library, but `./configure' isn't picking it up! Many modern operating system distributions split a library into two packages: 1. a `libfoo' package, which contains the files necessary to *run* programs which use `libfoo'. 2. a `libfoo-dev' or `libfoo-devel' package, which contains the files necessary to *compile* programs which use `libfoo'. If you're having problems, make sure that you have all of the necessary `dev' or `devel' packages installed. How about it, then? The file is named README for a reason. Peter -- Peter Brett pe...@peter-b.co.uk Remote Sensing Research Group Surrey Space Centre signature.asc Description: This is a digitally signed message part. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On Wed, 10 Nov 2010 21:32:33 +, Peter TB Brett pe...@peter-b.co.uk wrote: On Wednesday 10 November 2010 21:20:54 Kai-Martin Knaak wrote: Frank Bergmann wrote: Try ./configure --disable-dbus or try installing package libdbus-1-dev This is a common experience with the configure stage of geda and pcb. The script complains about a missing library even though the library is installed. What the script really misses is the but what it really misses is the header file of the lib. In Debian related distros these files tend be packaged separately in foobar-dev. Would it be possible to change the error message accordingly? Or, y'know, people could try reading the README file, in which it clearly states: Ignore me, I'm an idiot. Y'all are talking about PCB, not gEDA. Sorry! Peter -- Peter Brett pe...@peter-b.co.uk Remote Sensing Research Group Surrey Space Centre ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On 11/10/2010 03:45 PM, Frank Bergmann wrote: On 10.11.2010 21:36, DJ Delorie wrote: Try ./configure --disable-dbus or try installing package libdbus-1-dev ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user Thanks. That got me past the dbus-1 error. Now I am running into this: ... checking for gdlib-config... no Cannot find gdlib-config. Make sure it is installed and in your PATH. gdlib-config is part of the GD library available from www.boutell.com/gd. This is needed for the png HID. I will look for libgd anyway and maybe you will get lucky. checking for main in -lgd... no configure: error: You have requested gcode, nelma, or png HIDs but -lgd could not be found ... Any thoughts? Thanks, Dave ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
gdlib-config is part of the GD library available from www.boutell.com/gd. or install the gd and gd-devel packages. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On 10.11.2010 23:17, DJ Delorie wrote: gdlib-config is part of the GD library available from www.boutell.com/gd. or install the gd and gd-devel packages. for ubuntu you find it in libgd2-(no)xpm-dev package ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
On Wed, 2010-11-10 at 17:16 -0500, d...@umich.edu wrote: Thanks. That got me past the dbus-1 error. Now I am running into this: Since _a_ version of PCB is in the Ubuntu repositories, this can be a quick start to get what you need to build that particular version. Things should not have changed too much in terms of build requirements since then. sudo apt-get build-dep pcb That should help get you started. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: Problems compiling PCB Release 20100929
Thanks guys. I built gd-2.0.35RC5 from source with no problems, and then pcb compiled. I also tried 'sudo apt-get build-dep pcb'. I didn't know about the 'build-dep' option. I like that, so I did it and there were four or five programs that got installed. On 11/10/2010 05:59 PM, Peter Clifton wrote: On Wed, 2010-11-10 at 17:16 -0500, d...@umich.edu wrote: Thanks. That got me past the dbus-1 error. Now I am running into this: Since _a_ version of PCB is in the Ubuntu repositories, this can be a quick start to get what you need to build that particular version. Things should not have changed too much in terms of build requirements since then. sudo apt-get build-dep pcb That should help get you started. 'PCB 20100929' runs fine now. Thanks again, Dave P.S. Will my Ubuntu 10.04 system get confused if I install both the Synaptic package of pcb along with the compiled version? ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user