hi, i have found some other post relating to this, but it has no solution in it.
i have linux mint 15 which ported from ubuntu 13.04. i have installed all prerequisite packages and still when it gets to libx11 , 5.34 gives the following error.
g++ -shared -Wl,-soname,libGX11TTF.so -m64 -O2 -Wl,--no-undefined -Wl,--as-needed -o lib/libGX11TTF.so graf2d/x11ttf/src/TGX11TTF.o graf2d/x11ttf/src/G__X11TTF.o -L/usr/lib/x86_64-linux-gnu -lfreetype -lz -Llib -lGX11 -lGraf -lXpm -lXext -lX11 -lXft -Llib -lCore -lCint -ldl
graf2d/x11ttf/src/TGX11TTF.o: In function `TGX11TTF::DrawText(int, int, float, float, wchar_t const*, TVirtualX::ETextMode)':
TGX11TTF.cxx:(.text+0xee9): undefined reference to `TTF::PrepareString(wchar_t const*)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x240): undefined reference to `TVirtualX::GetOpenGLScalingFactor()'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x248): undefined reference to `TVirtualX::CreateOpenGLWindow(unsigned long, unsigned int, unsigned int, std::vector<std::pair<unsigned int, int>, std::allocator<std::pair<unsigned int, int> > > const&)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x250): undefined reference to `TVirtualX::CreateOpenGLContext(unsigned long, unsigned long)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x258): undefined reference to `TVirtualX::MakeOpenGLContextCurrent(unsigned long, unsigned long)'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x260): undefined reference to `TVirtualX::GetCurrentOpenGLContext()'
graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x268): undefined reference to `TVirtualX::FlushOpenGLBuffer(unsigned long)'
collect2: error: ld returned 1 exit status
make: *** [lib/libGX11TTF.so] Error 1
i can continue compiling with --disable-x11
doing this i have a working compilation without GUI.
i also tried to compile 5.32 too, and it just stcuk at configuration step telling
Checking for libX11 ... no
configure: libX11 MUST be installed
i dont want to use precompiled version for ubuntu since all files are scattered around the system. (I know they are actually in their usual paths for a linux system but finding them all in one place like compilation directory, priceless.) so please someone take a look into this problem and let find a solution to it.
YILMAZ
(i will be in a one week vacation and may not give quick answers daily)