Admin message

Please use the issue tracker only to report bugs (i.e. errors in the library that need to be fixed) or feature requests.

Please check if the current git version also has the same problem. An easy way to do this is to use google colab!

For questions about how to compile, install or use the library, please use instead the web forum at https://forum.skewed.de/c/graph-tool.


(If unsure, use the forum first.)


IMPORTANT: When opening new issues, please fill out the required information listed in the issue template!

Compiling issue: libsigc-2.0.la is not a valid libtool archive

Hello,

I'm sure this is more a user mistake than a bug with the code, but I need help resolving either way...

I am running Ubuntu 18.04 and attempting to manually compile graph-tool on my system (as the conda install did not work with my Phython v.3.6.5). I am compiling with g++ 7.3.0 and libboost1.65-dev(:amd64: /usr/include/boost/version.hpp).

I have attached my ./configure output as basic_output.txt as well as ./configure CPPFLAGS="-I$HOME/.local/include" LDFLAGS="-L$HOME/.local/lib -Wl,-rpath=$HOME/.local/lib" as custom_output.txt. The respective config.log files have the same "basic_" or "custom_" beginning.

My problem occurs when I run make whose outputs I have saved with the same respective names (i.e. "basic_testMake.txt").

The error is as follows:

/bin/grep: /home/getzinmw/anaconda3/lib/libsigc-2.0.la: No such file or directory /bin/sed: can't read /home/getzinmw/anaconda3/lib/libsigc-2.0.la: No such file or directory libtool: error: '/home/getzinmw/anaconda3/lib/libsigc-2.0.la' is not a valid libtool archive make[4]: *** [libgraph_tool_draw.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2

Additionally, this warning was also output:

graph_cairo_draw.cc: In member function ‘Type1 Converter<Type1, Type2>::do_convert(const Type2&, std::false_type) const [with Type1 = long double; Type2 = boost::python::api::object]’: graph_cairo_draw.cc:310:26: warning: ‘*((void*)& x +32)’ may be used uninitialized in this function [-Wmaybe-uninitialized] return x(); ^

I have searched far and wide to find a way to either resolve this issue or work around it, but to no avail. I suppose the issue may be in the way that I compiled the libsigc-2.0 library, but I haven't been able to do so in a way that produces the missing file listed above. I am new to C++ and code compiling in general, but I didn't have any problems with the other dependencies.

Any help would be greatly appreciated.

Best, mushroom_matthew

basic_output.txt

basic_confg.log

basic_testMake.txt

custom_output.txt

custom_confg.log

custom_testMake.txt

Assignee Loading
Time tracking Loading