Forgot to say, I use Linux, Mandriva 2005.
Also, for the CXXFLAGS I added in configure.in, --libs is probably not
needed because no linking takes place, but I don't think it hurts
anything.

On Tue, 2007-10-09 at 10:20 +0300, Mihai Dragan wrote:
> Hi,
> 
> I'm trying to build the latest tntnet and I'm having some problems.
> First, I must say I use a weird setup: I configure cxxtools and tntnet
> with the prefix ~/Applications/tnt. Cxxtools compiles and installs just
> fine.
> 
> $ cxxtools-config --libs --cxxflags
> -L/home/mdragan/Applications/tnt/lib -lcxxtools
> -I/home/mdragan/Applications/tnt/include
> 
> This seems to be ok.
> 
> Then I try to compile tntnet and at configure I get this error:
> 
> "please check your cxxtools-installation - maybe you need an upgrade"
> 
> So, in configure.in I added CXXFLAGS=`cxxtools-config --libs --cxxflags`
> on a line just before:
> AC_MSG_CHECKING([for cxxtools usability])
> AC_COMPILE_IFELSE(
> 
> I run autoconf, then configure, and it solves the above problem, but I
> get a new one:
> 
> config.status: creating Makefile
> sed: file ./confstatJD2732/subs-2.sed line 37: unterminated `s' command
> config.status: creating framework/common/Makefile
> sed: file ./confstatJD2732/subs-2.sed line 37: unterminated `s' command
> config.status: creating framework/runtime/Makefile
> sed: file ./confstatJD2732/subs-2.sed line 37: unterminated `s' command
> 
> .... and so on (more similar errors)
> 
> Also I get a warning before trying to generate the makefile:
> 
> checking for
> cxxtools-config... /home/mdragan/Applications/tnt/bin/cxxtools-config
> checking for cxxtools usability... yes
> checking cxxtools/net.h usability... yes
> checking cxxtools/net.h presence... no
> configure: WARNING: cxxtools/net.h: accepted by the compiler, rejected
> by the preprocessor!
> configure: WARNING: cxxtools/net.h: proceeding with the compiler's
> result
> checking for cxxtools/net.h... yes
> 
> Don't know if it's related...
> 
> Regards,
> mihai


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to