Hi all,
I'm stucked trying to compile the trunk. I run the bootstrap.sh shell. Then, the configure script returns me a error about xml2 library :
checking for xmlParseMemory in -lxml2... no
configure: error: You need the library xml2 to compile Armagetron. Read the file doc/install_linux.html.
The lib and dev packages are both installed. The problem is that I don't have this message with the 0.3.0 source package from download pages ...
the libs are in /usr/lib.
the xml2-config works fine :
voodoo:~/armad/armagetronad-0.3.0$ xml2-config --libs
-L/usr/lib -lxml2
Any idea ? Thx by advance...
error while running configure on the current trunk on ubuntu
- voodoo
- Core Dumper
- Posts: 124
- Joined: Wed Sep 27, 2006 11:51 am
- Z-Man
- God & Project Admin
- Posts: 11770
- Joined: Sun Jan 23, 2005 6:01 pm
- Location: Cologne
- Contact:
- voodoo
- Core Dumper
- Posts: 124
- Joined: Wed Sep 27, 2006 11:51 am
- Z-Man
- God & Project Admin
- Posts: 11770
- Joined: Sun Jan 23, 2005 6:01 pm
- Location: Cologne
- Contact:
- Tank Program
- Forum & Project Admin, PhD
- Posts: 6715
- Joined: Thu Dec 18, 2003 7:03 pm
- dlh
- Formerly That OS X Guy
- Posts: 2035
- Joined: Fri Jan 02, 2004 12:05 am
- Contact:
Code: Select all
checking for ruby... rubyCode: Select all
configure:5788: checking for ruby
configure:5804: found /usr/bin/rubyCode: Select all
/usr/bin/ld: cannot find -lruby- dlh
- Formerly That OS X Guy
- Posts: 2035
- Joined: Fri Jan 02, 2004 12:05 am
- Contact:
We should probably being doing something like:voodoo wrote:Ok, I got it. For some reason, there's no symbolic link for libruby.so (only with version included in the name). I add that missing link and it's fine now ...
Code: Select all
link_ruby = $(ruby -rrbconfig <<EOF
print Config::CONFIG["LIBRUBY"]
EOF)
export LDFLAGS = "${LDFLAGS} -l${link_ruby}"