On 23 Nov 2010 at 18:39, Paul Thomas wrote:

> Not sure if this list is alive or defunct, but anyway trying to resolve
> build issue for txFox 0.89.

Oh TnFOX is alive and well in the sense that it is maintained, but 
there have been no new features in a long while. Sad fact is that 
other work pays whereas work on TnFOX doesn't, and in this market ... 
:(

I am *very* surprised it does not build on Ubuntu as I use Ubuntu as 
my main system myself. I am even on the same version (10.04) as you.

> Using:
> gcc 4.4.3
> scons 2.0.1.r5134
> xft 2.8.2.1
> fontconfig 2.7.3
> python 2.6.5
> tnfox:  ned14-tnfox-GIT_import_from_SVN-60-4345f66.tar
> Ubuntu 10.04
> 
> Results of 'sudo scons tnfox' follow.
> 
> Configured for x86 DEBUG build ...
> Using platform configuration ../ned14-tnfox-4345f66/config/g++.py ...
> Setting jobs to 2 (use -j <n> to override)
> Checking for C header file pthread.h... (cached) yes
> Checking for pthread_setaffinity_np(0,0,0) in C library pthread... (cached)
> yes
> Checking for __cxa_throw() in C++ library stdc++... (cached) yes
> Checking for XOpenDisplay() in C library X11... (cached) yes
> Checking for XShmAttach() in C library Xext... (cached) yes
> Checking for C header file X11/Xcursor/Xcursor.h... (cached) yes
> Checking for C header file X11/Xft/Xft.h... (cached) yes
> Checking for C header file X11/extensions/XShm.h... (cached) yes
> Checking for shm_open() in C library rt... (cached) yes
> Checking for dlopen() in C library dl... (cached) yes
> Checking for C library cups... (cached) no
> Disabling CUPS support
> Checking for C library pam... (cached) no
> Checking for C library pam... (cached) no
> Disabling PAM support
> Checking for crypt() in C library crypt... (cached) yes
> Checking for GCC global symbol visibility support...(cached) yes
> Checking if GCC can enable C++0x features ...(cached) yes
> Making sure this is really a 32 bit compiler ...(cached) yes
> Is the compiler configured for big endian architecture ...(cached) no
> Checking for C++0x feature N1720 (static assertions) ...(cached) yes
> Checking for C++0x feature N2118 (rvalue references) ...(cached) yes
> Local VTK not found
> Checking for C library z... (cached) yes
> Checking for C library tiff... (cached) yes
> Checking for C library png... (cached) no
> PNG library not found, disabling support
> Checking for C library jpeg... (cached) yes
> Checking for C library bz2... (cached) no
> BZip2 library not found, disabling support
> Checking for SSL_library_init() in C library ssl... (cached) no
> OpenSSL library not found, disabling support
> Checking for glBegin(GL_POINTS) in C library GL... (cached) yes
> Checking for C++ header file GL/glu.h... (cached) yes
> Checking for vtkVersion::GetVTKVersion() in C++ library vtkCommon...
> (cached) no

You have a few missing dev libraries in there, but no biggie.

> basetarget= lib/x86_7/libTnFOX-0.89d.so.0.0.0
> basetarget= lib/x86_7/libTnFOX_sql-0.89d.so.0.0.0
> basetarget= lib/x86_7/libTnFOX_graphing-0.89d.so.0.0.0
> scons: done reading SConscript files.
> scons: Building targets ...
> python UpdateMunged.py -d src -s include/tnfxgitrev.h -c "-f 4 -c
> include/FXErrCodes.h -t TnFOXTrans.txt"
> TnFOX Munge file updater v0.22
> UpdateMunged.py:77: DeprecationWarning: os.popen4 is deprecated.  Use the
> subprocess module.
>   (childinh, childh)=os.popen4("git describe")
> 
> Calling git describe FAILED due to (<type 'exceptions.AssertionError'>,
> AssertionError(), <traceback object at 0x946993c>)

You also appear to be missing git? But again, no biggie.

> No files need updating
> g++ -o Debug_g++_x86_7/FXIcon.os -c -fPIC -Wall -Wno-reorder
> -Wno-non-virtual-dtor -Wno-unused-variable -m32 -march=pentium-m
> -mfpmath=sse -msse3 -fexceptions -fstrict-aliasing -fargument-noalias
> -Wstrict-aliasing -pipe -O0 -ggdb -std=c++0x -DUSE_POSIX -D_DEBUG
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_PARAM_H=1
> -DHAVE_SYS_SELECT_H=1 -DHAVE_NPTL=1 -DXTHREADS=1 -DFOX_THREAD_SAFE=1
> -DHAVE_XCURSOR_H=1 -DHAVE_XFT_H=1 -DHAVE_XSHM_H -DHAVE_LIBDL=1
> -DFOX_BIGENDIAN=0 -DHAVE_CPP0XSTATICASSERT -DHAVE_CPP0XRVALUEREFS
> -D__GXX_EXPERIMENTAL_CXX0X__ -DFX_SMPBUILD -DFX_SQLMODULE=2
> -DHAVE_SQLITE3_H=1 -DFX_GRAPHINGMODULE=2 -DHAVE_ZLIB_H -DHAVE_TIFF_H
> -DHAVE_JPEG_H -DHAVE_GL_H -DSUN_OGL_NO_VERTEX_MACROS
> -DHPOGL_SUPPRESS_FAST_API -DHAVE_GLU_H -DFOXDLL_EXPORTS -I/usr/include/nptl
> -Iinclude -I/usr/kerberos/include -I/usr/X11R6/include
> -I/usr/local/include/freetype2 -I/usr/local/include -Isrc/sqlite
> src/FXIcon.cpp
> g++ -o Debug_g++_x86_7/QBZip2Device.os -c -fPIC -Wall -Wno-reorder
> -Wno-non-virtual-dtor -Wno-unused-variable -m32 -march=pentium-m
> -mfpmath=sse -msse3 -fexceptions -fstrict-aliasing -fargument-noalias
> -Wstrict-aliasing -pipe -O0 -ggdb -std=c++0x -DUSE_POSIX -D_DEBUG
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_SYS_WAIT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_PARAM_H=1
> -DHAVE_SYS_SELECT_H=1 -DHAVE_NPTL=1 -DXTHREADS=1 -DFOX_THREAD_SAFE=1
> -DHAVE_XCURSOR_H=1 -DHAVE_XFT_H=1 -DHAVE_XSHM_H -DHAVE_LIBDL=1
> -DFOX_BIGENDIAN=0 -DHAVE_CPP0XSTATICASSERT -DHAVE_CPP0XRVALUEREFS
> -D__GXX_EXPERIMENTAL_CXX0X__ -DFX_SMPBUILD -DFX_SQLMODULE=2
> -DHAVE_SQLITE3_H=1 -DFX_GRAPHINGMODULE=2 -DHAVE_ZLIB_H -DHAVE_TIFF_H
> -DHAVE_JPEG_H -DHAVE_GL_H -DSUN_OGL_NO_VERTEX_MACROS
> -DHPOGL_SUPPRESS_FAST_API -DHAVE_GLU_H -DFOXDLL_EXPORTS -I/usr/include/nptl
> -Iinclude -I/usr/kerberos/include -I/usr/X11R6/include
> -I/usr/local/include/freetype2 -I/usr/local/include -Isrc/sqlite
> src/QBZip2Device.cxx
> os.chdir('../ned14-tnfox-4345f66/src/nedmalloc/')
> scons --tolerant --useallocator=1 --debugbuild x86/Debug/libnedmalloc.so
> --sse=3
> 
> scons: *** No SConstruct file found.
> File "/usr/local/lib/scons-2.0.1/SCons/Script/Main.py", line 834, in _main
> os.chdir('../ned14-tnfox-4345f66')
> scons: *** [src/nedmalloc/x86/Debug/libnedmalloc.so] Error 2
> scons: building terminated because of errors.

When you were git cloning, did you do git "submodule update --init --
recursive"? This will pull in nedmalloc, uthash and nedtries.

You are absolutely right that I need to add this to the docs. Will do 
this this afternoon.

HTH,
Niall

-- 
Technology & Consulting Services - ned Productions Limited.
http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no: 
472909.




------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Tnfox-discussion mailing list
Tnfox-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tnfox-discussion

Reply via email to