hi all,
I'm trying to include all new functionalities in the new development versions of Inkscape on OS X but I've been hitting unmet dependencies and problems for a while. here is the last one. I added boost in order to get auto-organization of connectors and:
make all-recursive Making all in src if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/ X11R6/include/freetype2 -DORBIT2=1 -I/sw/include/gnome-vfs-2.0 -I/sw/ lib/gnome-vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/ include/libbonobo-2.0 -I/sw/include/gconf/2 -I/sw/include/glib-2.0 -I/ sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/ glib-2.0 -I/sw/lib/glib-2.0/include -I/opt/local/include/ loudmouth-1.0 -DPOTRACE="potrace" -I/sw/include/gdkmm-2.4 -I/sw/ lib/gdkmm-2.4/include -I/sw/include/glibmm-2.4 -I/sw/lib/glibmm-2.4/ include -I/sw/include/pangomm-1.4 -I/sw/include/gtk-2.0 -I/sw/lib/ gtk-2.0/include -I/usr/X11R6/include -I/sw/include/sigc++-2.0 -I/sw/ lib/sigc++-2.0/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/ include -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/ include/gtkmm-2.4 -I/sw/lib/gtkmm-2.4/include -I/sw/include/atkmm-1.6 -I/sw/include/atk-1.0 -I/sw/include/libxml2 -I/sw/include -I../ cxxtest -I/sw/include -Wall -W -Wpointer-arith -Wcast-align -Wsign- compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -O3 - Wall -MT graphlayout/graphlayout.o -MD -MP -MF "graphlayout/.deps/ graphlayout.Tpo" -c -o graphlayout/graphlayout.o `test -f 'graphlayout/graphlayout.cpp' || echo './'`graphlayout/ graphlayout.cpp; \ then mv -f "graphlayout/.deps/graphlayout.Tpo" "graphlayout/.deps/ graphlayout.Po"; else rm -f "graphlayout/.deps/graphlayout.Tpo"; exit 1; fi graphlayout/graphlayout.cpp:25:54: error: boost/graph/ kamada_kawai_spring_layout.hpp: No such file or directory graphlayout/graphlayout.cpp:26:41: error: boost/graph/ circle_layout.hpp: No such file or directory In file included from /sw/include/boost/config.hpp:35, from /sw/include/boost/graph/adjacency_list.hpp:30, from graphlayout/graphlayout.cpp:27: /sw/include/boost/config/compiler/gcc.hpp:92:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" ./sp-object.h:226: warning: unused parameter 'title' ./sp-object.h:231: warning: unused parameter 'desc' ./libnr/nr-maybe.h:41: warning: unused parameter 'n' ./libnr/nr-maybe.h:42: warning: unused parameter 'n' graphlayout/graphlayout.cpp: In function 'void graphlayout(const GSList*)': graphlayout/graphlayout.cpp:142: error: 'circle_graph_layout' was not declared in this scope graphlayout/graphlayout.cpp:143: error: 'side_length' was not declared in this scope graphlayout/graphlayout.cpp:143: error: 'kamada_kawai_spring_layout' was not declared in this scope make[2]: *** [graphlayout/graphlayout.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Not executable: /Volumes/files/softwares/inkscape_compiled/bin/inkscape
this is with boost 1.31.0-6 on OS X 10.4 and compiled with gcc-4.0 (all my Fink packages are build with gcc-4.0 now).
Is it a limitation of the version of boost Fink provides? Is it too old? thank you in advance.
JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- http://jo.irisson.free.fr/
I believe you need the boost graph library, which is a supplemental library atop boost.
-mental
On 07 Apr 2006, at 23:07 , MenTaLguY wrote:
I believe you need the boost graph library, which is a supplemental library atop boost.
configure gives me this:
checking boost/graph/adjacency_list.hpp usability... yes checking boost/graph/adjacency_list.hpp presence... yes checking for boost/graph/adjacency_list.hpp... yes
so it seems I have the graph library, isn't it? If not it means that the configure script is lacking some checks because it shouldn't have let me compile with boost/graph if it is not available on my machine. Thank you for your answer. I hope we'll find the problem.
JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- http://jo.irisson.free.fr/
On Sat, 8 Apr 2006, jiho wrote:
On 07 Apr 2006, at 23:07 , MenTaLguY wrote:
I believe you need the boost graph library, which is a supplemental library atop boost.
configure gives me this:
checking boost/graph/adjacency_list.hpp usability... yes checking boost/graph/adjacency_list.hpp presence... yes checking for boost/graph/adjacency_list.hpp... yes
so it seems I have the graph library, isn't it? If not it means that the configure script is lacking some checks because it shouldn't have let me compile with boost/graph if it is not available on my machine. Thank you for your answer. I hope we'll find the problem.
You have the correct dependencies...
The problem occurs because of a check in the file: /sw/include/boost/config/compiler/gcc.hpp
// last known and checked version is 3.4: #if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 4)) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else # warning "Unknown compiler version - please run the configure tests and report the results" # endif #endif
You're only seeing this now since you recompiled your fink tree with gcc 4.0. The file has been updated in boost CVS not to warn for post gcc 3.4. Seems like someone needs to update the boost version in fink. Best send a message to the maintainer of that package.
Cheers, Michael
On 09 Apr 2006, at 10:37 , Michael Wybrow wrote:
On Sat, 8 Apr 2006, jiho wrote:
On 07 Apr 2006, at 23:07 , MenTaLguY wrote:
I believe you need the boost graph library, which is a supplemental library atop boost.
configure gives me this:
checking boost/graph/adjacency_list.hpp usability... yes checking boost/graph/adjacency_list.hpp presence... yes checking for boost/graph/adjacency_list.hpp... yes
so it seems I have the graph library, isn't it? If not it means that the configure script is lacking some checks because it shouldn't have let me compile with boost/graph if it is not available on my machine. Thank you for your answer. I hope we'll find the problem.
You have the correct dependencies...
The problem occurs because of a check in the file: /sw/include/boost/config/compiler/gcc.hpp
// last known and checked version is 3.4: #if (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 4)) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # else # warning "Unknown compiler version - please run the configure tests and report the results" # endif #endif
You're only seeing this now since you recompiled your fink tree with gcc 4.0. The file has been updated in boost CVS not to warn for post gcc 3.4. Seems like someone needs to update the boost version in fink. Best send a message to the maintainer of that package.
ok, thank you. I'll do that. BTW, you wrote something about a loudmouth package you sent to fink. there is still nothing in fink unstable (rsync updates). do you know the status of this? (nb: I installed darwin ports and got loudmouth there. I was thinking about switching completely to darwin ports actually but this is impossible because gtkmm is not in darwin ports... too bad. anyway it would be great if all packages needed to compile inkscape were available in one of the packages distribution systems of OS X)
thank you.
JiHO --- Windows, c'est un peu comme le beaujolais nouveau : a chaque nouvelle cuvee on sait que ce sera degueulasse, mais on en prend quand meme par masochisme. --- http://jo.irisson.free.fr/
On Tue, 11 Apr 2006, jiho wrote:
BTW, you wrote something about a loudmouth package you sent to fink. there is still nothing in fink unstable (rsync updates). do you know the status of this?
Yes, it's been in the fink tracker, with all comments address, waiting for someone to physically commit to the unstable tree for about the last 5 months: http://sourceforge.net/tracker/index.php?func=detail&aid=1327338&gro...
I just sent a mail to the fink-devel list about it so hopefully it will appear in fink shortly.
Cheers, Michael
On Sun, 9 Apr 2006, Michael Wybrow wrote:
On Sat, 8 Apr 2006, jiho wrote:
On 07 Apr 2006, at 23:07 , MenTaLguY wrote:
I believe you need the boost graph library, which is a supplemental library atop boost.
configure gives me this:
checking boost/graph/adjacency_list.hpp usability... yes checking boost/graph/adjacency_list.hpp presence... yes checking for boost/graph/adjacency_list.hpp... yes
so it seems I have the graph library, isn't it? If not it means that the configure script is lacking some checks because it shouldn't have let me compile with boost/graph if it is not available on my machine. Thank you for your answer. I hope we'll find the problem.
You have the correct dependencies...
The problem occurs because of a check in the file: /sw/include/boost/config/compiler/gcc.hpp
For what its worth, I've just recompiled my fink tree and the problem you describe doesn't occur with the latest version of boost in the 10.4 tree (boost-1.33) and gcc 4.0.
Cheers, Michael
participants (3)
-
jiho
-
MenTaLguY
-
Michael Wybrow