www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2013/06/25/09:30:58

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h=
message-id:date:from:mime-version:to:cc:subject:references
:in-reply-to:content-type; s=beta; bh=ZUtwRtvU+PCJIotE5BiZzk+NWo
39PYLSBc9zCg6ERHE=; b=Vb/MuAPDRyrxh3rMZwlz6i2s5ANMBG+UZAmkKAVD7m
8uy1fPimhb7/k8VjxLgL1Tlb3zZc/OX3fRNKYqltrxCDN+PmYXk4ysXyGtIPa6f5
e/YbUz5zKlAHio33OBheWec7q5XPaQ024TZHhKe+0VehduaINXylumq7JrcN3L2Z
k=
Message-ID: <51C99B5F.9060606@jump-ing.de>
Date: Tue, 25 Jun 2013 15:30:07 +0200
From: Markus Hitter <mah AT jump-ing DOT de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
MIME-Version: 1.0
To: geda-user AT delorie DOT com
CC: Eugene Mikhantiev <mikhantiev AT gmail DOT com>
Subject: Re: [geda-user] pangox.pc on Ubuntu
References: <51C8BCC2 DOT 9060503 AT jump-ing DOT de> <CAHdUXzLnLWDAywY8xKhNk4FOCsTy07haHpMP_fa2KufdT52ARg AT mail DOT gmail DOT com>
In-Reply-To: <CAHdUXzLnLWDAywY8xKhNk4FOCsTy07haHpMP_fa2KufdT52ARg@mail.gmail.com>
Reply-To: geda-user AT delorie DOT com

This is a multi-part message in MIME format.
--------------030004050605070607000903
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit


Very helpful information, Eugene, thanks.


Am 25.06.2013 04:08, schrieb Eugene Mikhantiev:

> Otherwise you can install latest development version of PCB from my
> PPA: https://launchpad.net/~mehanik/+archive/geda-unstable

I guess I'm supposed to be a pcb developer, so this isn't exactly an 
option for me :-)

> I used Ubuntu 13.04, and file pangox.pc is contained in package libpango1.0-dev:
> $ dpkg -S pangox.pc
> libpango1.0-dev: /usr/lib/x86_64-linux-gnu/pkgconfig/pangox.pc

$ dpkg -S pangox.pc
dpkg-query: Kein Pfad gefunden, der auf Muster *pangox.pc* passt
[no path for the pattern *pangox.pc* found]

> Maybe you install libpango1.0-dev from  non-standard repository? Try to check:
> $ apt-cache policy libpango1.0-dev
> libpango1.0-dev:
>    Installed: 1.32.5-0ubuntu1
>    Candidate: 1.32.5-0ubuntu1
>    Version table:
>   *** 1.32.5-0ubuntu1 0
>          500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
>          100 /var/lib/dpkg/status

Here I also get something else:

$ apt-cache policy libpango1.0-dev
libpango1.0-dev:
   Installiert:           1.34.1-0ubuntu1~13.04~ricotz1
   Installationskandidat: 1.34.1-0ubuntu1~13.04~ricotz1
   Versionstabelle:
  *** 1.34.1-0ubuntu1~13.04~ricotz1 0
         500 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu/ 
raring/main amd64 Packages
         100 /var/lib/dpkg/status
      1.32.5-0ubuntu1 0
         500 http://de.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages

Well, I also upgraded to Gnome 3.8, because it brings back the tree view 
in nautilus (file manager). Unfortunately, this also brings in a whole 
lot of other stuff.


> Your error message also says that you do not have installed libgtkglext1-dev

$ sudo apt-get install libgtkglext1-dev
[...]
libgtkglext1-dev ist schon die neueste Version.  [... already newest 
version]


After some try and error I found it boils down to mismatches in one of 
the installed packages, gEDA sources appear to be out of the picture:

$ pkg-config --cflags "gtkglext-1.0 >= 1.0.0"
Package pangox was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangox.pc'
[...]

This should work, right? :-)


To solve the problem I patched configure.ac to set the required compiler 
flags manually. See attached patch. This patch won't go into the public 
repo, of course, but people having the same problem can apply it locally 
(git am ...).


Thanks for the help, everybody!

Markus

-- 
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. (FH) Markus Hitter
http://www.jump-ing.de/

--------------030004050605070607000903
Content-Type: text/x-patch;
 name="0001-HACK-set-GtkGlExt-flags-manually.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-HACK-set-GtkGlExt-flags-manually.patch"

From b4914c5f114e481b5bf30efef77e6ad22af18306 Mon Sep 17 00:00:00 2001
From: Markus Hitter <mah AT jump-ing DOT de>
Date: Tue, 25 Jun 2013 15:15:30 +0200
Subject: HACK: set GtkGlExt flags manually.

This works around a package system bug appearing when upgrading
Ubuntu 13.04 with Gnome 3.8. Don't forget to run:

  sudo apt-get install libpango1.0-dev libgtkglext1-dev
---
 configure.ac | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index aabd38f..d64a07f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -753,12 +753,9 @@ $GTK_PKG_ERRORS])]
 
 	if test "x$enable_gl" = "xyes"; then
 		# Check for GtkGLExt
-		PKG_CHECK_MODULES(GTKGLEXT, gtkglext-1.0 >= 1.0.0, , [AC_MSG_ERROR([
-*** Required version of gtkglext is not installed - please install first ***
-Please review the following errors:
-$GTKGLEXT_PKG_ERRORS])]
-		)
 	GTKGLEXT_VER=`$PKG_CONFIG gtkglext-1.0 --modversion`
+	GTKGLEXT_CFLAGS="-I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include"
+	GTKGLEXT_LIBS="-lgtkglext-x11-1.0 -lgdkglext-x11-1.0"
 	fi
 
 	;;
-- 
1.8.1.2


--------------030004050605070607000903--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019