You are not logged in.

#1 2003-12-24 22:30:51

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

gtk-- with libsigc++ ? ... problem in building "gbioseq

i try to build gbioseq ( http://www.cnrs-gif.fr/pge/bioinfo/gbioseq/index.php )
on arch, but i get errors i dont know exactly how to solve:

make[3]: Entering directory `/building/gbioseq/src/gbioseq-0.2.2/gbioseq'
c++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/lib/sigc++/include -rdynamic -c aa2barreetat.cpp
In file included from /usr/include/gtk--/base.h:34,
                 from /usr/include/gtk--/object.h:30,
                 from /usr/include/gtk--/widget.h:32,
                 from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/box.h:28,
                 from /usr/include/gtk--/statusbar.h:27,
                 from aa2barreetat.h:21,
                 from aa2barreetat.cpp:18:
/usr/include/gtk--/proxy.h:6:34: sigc++/signal_system.h: No such file or directory
/usr/include/gtk--/proxy.h:7:25: sigc++/bind.h: No such file or directory
/usr/include/gtk--/proxy.h:8:28: sigc++/convert.h: No such file or directory
In file included from /usr/include/gtk--/base.h:34,
                 from /usr/include/gtk--/object.h:30,
                 from /usr/include/gtk--/widget.h:32,
                 from /usr/include/gtk--/container.h:27,
                 from /usr/include/gtk--/box.h:28,
                 from /usr/include/gtk--/statusbar.h:27,
                 from aa2barreetat.h:21,
                 from aa2barreetat.cpp:18:
/usr/include/gtk--/proxy.h:16: error: parse error before `::' token
/usr/include/gtk--/proxy.h:40: error: `SigC' is not a class or namespace
/usr/include/gtk--/proxy.h:41: error: `SlotNode' is not a class or namespace
/usr/include/gtk--/proxy.h:41: error: invalid base-class specification
/usr/include/gtk--/proxy.h:45: error: type specifier omitted for parameter `
   SigC'

especially the lines

/usr/include/gtk--/proxy.h:6:34: sigc++/signal_system.h: No such file or directory
/usr/include/gtk--/proxy.h:7:25: sigc++/bind.h: No such file or directory
/usr/include/gtk--/proxy.h:8:28: sigc++/convert.h: No such file or directory

mean, that there is a problem with either gtk-- or libsigc++ ... any idea where to start searching? any similar problems?


The impossible missions are the only ones which succeed.

Offline

#2 2003-12-24 22:32:13

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: gtk-- with libsigc++ ? ... problem in building "gbioseq

Can you find those files anywhere on your filesystem or any references on the internet?  It could be either, and figuring out whether sigc++ should include them or if gtk-- shouldn't try to use them is the next step.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#3 2003-12-24 23:00:07

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: gtk-- with libsigc++ ? ... problem in building "gbioseq

i will take the first file:

signal_system.h
--------------------
is in arch here: (locate)
/usr/include/sigc++-1.0/sigc++/signal_system.h

but "configure" found sigc++ here:
-I/usr/lib/sigc++/include


... ahh .. i think i found what happens:
there exist 2 different libsigc++ packages:
libsigc++
libsigc++2

not the solution, but at least a idea where to try to find the solution ... thanx for the tip of searching for the files wink

EDIT: searched for a nice way of changing the building/making procedure to include the directory that exists in arch (/usr/include/sigc++-1.0/sigc++/) instead of the default ... unfortunately there is no variable or setting i found especially for sigc++ ... there is a general

libdir='${exec_prefix}/lib'

that i cannot change, because the other libs that are there on the right place :-(

any (easy) idea how to tell the compiler not to use  -I/usr/lib/sigc++/include but /usr/include/sigc++-1.0/sigc++/ ? (never had such a funny case to solve in building packages --- the easiest thing were to symlink the files to the place they are searched for ... but that's messing the system, what is not so good)


The impossible missions are the only ones which succeed.

Offline

#4 2003-12-25 00:52:37

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: gtk-- with libsigc++ ? ... problem in building "gbioseq

Find out where in the build system it generates sigc++, if it's in configure then try to pass some variables to configure, if it's generated by configure from a -config script then maybe the -config script is wrong.  If it's hardcoded then patch.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#5 2003-12-25 01:36:42

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: gtk-- with libsigc++ ? ... problem in building "gbioseq

Xentac wrote:

Find out where in the build system it generates sigc++, if it's in configure then try to pass some variables to configure, if it's generated by configure from a -config script then maybe the -config script is wrong.

that's what i tried to find out first ...

Xentac wrote:

If it's hardcoded then patch.

... done that ... this solved the not found files, but after a while, the compile returned a lot of errors related to the code of this app:

[...]vecteurs.h:52: error: `vector' undeclared (first use this function)
vecteurs.h:52: error: `T' undeclared (first use this function)
vecteurs.h:52: error: `::operator[]' undeclared (first use here)
vecteurs.h:52: error: `element' undeclared (first use this function)
vecteurs.h: At global scope:
vecteurs.h:61: error: parse error before `&' token
vecteurs.h:61: error: non-member function `long int Position(...)' cannot have
   `const' method qualifier
vecteurs.h: In function `void Suppr(long unsigned int)':
vecteurs.h:77: error: `begin' undeclared (first use this function)
vecteurs.h:77: error: `erase' undeclared (first use this function)
vecteurs.h: At global scope:
vecteurs.h:80: error: parse error before `}' token
vecteurs.h:82: error: parse error before `{' token
vecteurs.h:85: error: parse error before `long'
vecteurs.h:86: error: parse error before `const'
vecteurs.h:87: error: parse error before `const'
vecteurs.h:89: error: destructors must be member functions
vecteurs.h:91: error: parse error before `&' token
vecteurs.h:93: error: non-member function `operator double()' cannot have `
   const' method qualifier
vecteurs.h:93: error: `operator double()' must be a nonstatic member function
vecteurs.h:93: error: `operator double()' must take exactly one argument
vecteurs.h: In function `operator double()':
vecteurs.h:93: error: `c_str' undeclared (first use this function) 
[...]

... so i think it is not longer build-able (the source is about a year old) with the current libs :-( .

anyway: thanx a lot for the help

EDIT: no, actually, it's more than 2 years old!!! (i'm a molbio-student and searched for tools on the internet for something usefull for a genetics course ... unfortunately i found something not that up-to-date --- maybe writing something on my own would work better wink )


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB