Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: batnas on June 11, 2010, 07:06:24 PM

Title: compile vidalia - Help!
Post by: batnas on June 11, 2010, 07:06:24 PM
Hi all

When trying to compile i get this error:
Code: [Select]
[ 99%] Building CXX object src/vidalia/CMakeFiles/vidalia.dir/qrc_content.o
[ 100%] Building CXX object src/vidalia/CMakeFiles/vidalia.dir/qrc_vidalia_i18n.o
Linking CXX executable vidalia
/usr/local/bin/ld: warning: libEGL.so.1, needed by /usr/local/lib/libQtGui.so, not found (try using -rpath or -rpath-link)
/usr/local/lib/libQtGui.so: undefined reference to `eglCreateWindowSurface'
/usr/local/lib/libQtGui.so: undefined reference to `eglBindAPI'
/usr/local/lib/libQtGui.so: undefined reference to `eglCreateContext'
/usr/local/lib/libQtGui.so: undefined reference to `eglCreatePixmapSurface'
/usr/local/lib/libQtGui.so: undefined reference to `eglMakeCurrent'
/usr/local/lib/libQtGui.so: undefined reference to `eglDestroySurface'
/usr/local/lib/libQtGui.so: undefined reference to `eglGetConfigAttrib'
/usr/local/lib/libQtGui.so: undefined reference to `eglGetDisplay'
/usr/local/lib/libQtGui.so: undefined reference to `eglChooseConfig'
/usr/local/lib/libQtGui.so: undefined reference to `eglInitialize'
/usr/local/lib/libQtGui.so: undefined reference to `eglGetConfigs'
/usr/local/lib/libQtGui.so: undefined reference to `eglQueryString'
/usr/local/lib/libQtGui.so: undefined reference to `eglDestroyContext'
/usr/local/lib/libQtGui.so: undefined reference to `eglWaitNative'
/usr/local/lib/libQtGui.so: undefined reference to `eglWaitClient'
/usr/local/lib/libQtGui.so: undefined reference to `eglSwapBuffers'
/usr/local/lib/libQtGui.so: undefined reference to `eglGetError'
collect2: ld returned 1 exit status
make[2]: *** [src/vidalia/vidalia] Error 1
make[1]: *** [src/vidalia/CMakeFiles/vidalia.dir/all] Error 2
make: *** [all] Error 2
tc@box:/mnt/hdb1/Compile/vidalia/vidalia-0.2.9/build$

How do i solve this??

//Batnas
Title: Re: compile vidalia - Help!
Post by: robc on June 11, 2010, 07:28:30 PM
are you on 3.x?

if so then libEGL is found in the Xorg-7.5 extension

Edit: You can use the Provides search in the Appbrowser to search for files in the extensions. Click on Search to toggle between Search and Provides.
Title: Re: compile vidalia - Help!
Post by: batnas on June 11, 2010, 07:46:29 PM
I am using 3.0a6

Using the provide does not give me anything. I have tried.
I will try tomorrow, thanks

\\Batnas

EDIT: I have just checked, and the it was under Xorg-7.5. I swear it was not there before  ???
Title: Re: compile vidalia - Help!
Post by: maro on June 11, 2010, 08:09:15 PM
batnas: Trust me, "libEGL.so*" has always been included in (the relatively short "live time" of) 'Xorg-7.5.tcz'.

Nevertheless I agree that "provides" can be a bit "confusing" as the following shows:
Code: [Select]
tc@box:~$ tce-fetch.sh Xorg-7.5.tcz.list
tc@box:~$ grep libEGL.so Xorg-7.5.tcz.list
./usr/local/lib/libEGL.so
./usr/local/lib/libEGL.so.1.0
./usr/local/lib/libEGL.so.1
tc@box:~$ provides.sh libEGL ; cat info.lst
Xorg-7.5.tcz
tc@box:~$ provides.sh libEGL.so ; cat info.lst
tc@box:~$ provides.sh libEGL.so.1 ; cat info.lst
tc@box:~$ provides.sh libEGL.so.1.0 ; cat info.lst
tc@box:~$

Please note that using any of the "proper" file names fails to show up with a result, whilst a "castrated" file name succeeds.
Title: Re: compile vidalia - Help!
Post by: batnas on June 12, 2010, 06:35:50 AM
That is weird. I am sure i searched for 'libEGL' using provide ???

But Thanks