synaptic-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Synaptic-devel] get configure and compile errors


From: Richard Bos
Subject: [Synaptic-devel] get configure and compile errors
Date: Sun, 15 Jun 2003 22:30:39 +0200
User-agent: KMail/1.5

Hello,

I hope to get some assistance to get synaptic, build on my system, which is 
SuSE-8.2 with gcc: 3.3.

I've a couple of problems, configure bails out and a make error see below for 
the details.

-  configure:
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 >= 2.0.0, libglade-2.0 >= 2.0.0, pango >= 1.0.0, 
glib-2.0... Package atk was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk.pc'
to the PKG_CONFIG_PATH environment variable
Package 'atk', required by 'GTK+', not found

configure: error: Library requirements (gtk+-2.0 >= 2.0.0, libglade-2.0 >= 
2.0.0, pango >= 1.0.0, glib-2.0) not met; consider adjusting the 
PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard 
prefix so pkg-config can find them.

-  package atk exist in the system: rpm -q atk -> atk-1.2.2-43, as I'm not 
familair with pkg-config and the man page does not help me to much either I 
hope to obtain the golden hint from this list.
I think that I have the files that are provided by pkgs gtk+-2.0, 
libglade-2.0, pango and glib installed.  In suse they are called resp 
gtk2-devel, libglade2-devel, glib2-devel and pango-devel.

If I call pkg-config on the command line with the pkgs above it exits 
unsuccesfully???  At this point I stopped and continued, with commenting out 
the pkg-config checks -> configure finishes...

-  Start make

/usr/include/rpm  -g -O2 -c rpackagecache.cc
rpackagecache.cc: In member function `bool RPackageCache::open(OpProgress&)':
rpackagecache.cc:47: error: `assert' undeclared (first use this function)
rpackagecache.cc:47: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[2]: *** [rpackagecache.o] Error 1
make[2]: Leaving directory 
`/home/richard/packages/SOURCES/synaptic-0.36.1/commo


- Added assert.h to rpackagecache.cc
  This is a nice and easy to solve problem, it's due to gcc-3.3
  Please add it to subversion


Next errors:

gsynaptic.cc:38:22: gdk/gdkx.h: No such file or directory
In file included from gsynaptic.cc:42:

 Add -I/usr/include/gtk-2.0   from gtk2-devel-2.2.1-37

In file included from /usr/include/gtk-2.0/gdk/gdkprivate.h:30,
                 from /usr/include/gtk-2.0/gdk/gdkx.h:30,
                 from gsynaptic.cc:38:
/usr/include/gtk-2.0/gdk/gdktypes.h:32:18: glib.h: No such file or directory
/usr/include/gtk-2.0/gdk/gdktypes.h:33:25: pango/pango.h: No such file or 
directory
/usr/include/gtk-2.0/gdk/gdktypes.h:34:25: glib-object.h: No such file or 
directory
/usr/include/gtk-2.0/gdk/gdktypes.h:51:23: gdkconfig.h: No such file or 
directory

 Add -I/usr/include/glib-2.0  from glib2-devel
 Add -I/usr/include/pango-1.0 from pango-devel

In file included from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkprivate.h:30,
                 from /usr/include/gtk-2.0/gdk/gdkx.h:30,
                 from gsynaptic.cc:38:
/usr/include/glib-2.0/glib/gtypes.h:41: error: syntax error before `typedef'

Which is:
     30 #include <glibconfig.h>
     31
     32 G_BEGIN_DECLS
     33
     34 /* Provide type definitions for commonly used types.
     35  *  These are useful because a "gint8" can be adjusted
     36  *  to be 1 byte (8 bits) on all platforms. Similarly and
     37  *  more importantly, "gint32" can be adjusted to be
     38  *  4 bytes (32 bits) on all platforms.
     39  */
     40
     41 typedef char   gchar;

I assume that it goes wrong here due to configure that fail with pkg-config.  
At this point I need assistance from the list to continue...

-- 
Richard Bos
Without a home the journey is endless





reply via email to

[Prev in Thread] Current Thread [Next in Thread]