Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: mavrothal on April 20, 2010, 09:57:19 AM

Title: problem with atk-dev
Post by: mavrothal on April 20, 2010, 09:57:19 AM
I'm trying to get a "light" network manager for the OLPC XO-1 laptop.
Considered puppylinux' simple network setup, but it requires a puppy-patched version of gtk-dialog.
So I tried to compile it and I have problems with atk-dev.tcz
I did
Code: [Select]
export CFLAGS="-march=i486 -mtune=i686 -Os -pipe"
export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti"
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
./configure --prefix=/usr/local
and went fine
but on make I get
Code: [Select]
/usr/local/bin/ld: cannot find -latk-1.0However atk-1.0 is there but the symlinks to the actual header files are in the /usr/local/include/atk-1.0/atk sub-folder.
So I moved them one level up to /atk-1.0 and now make proceeds till it stops again at atk headers because is now looking for it in /usr/local/include/atk-1.0/atk !
Code: [Select]
/usr/local/include/gtk-2.0/gtk/gtkwidget.h:40:21: error: atk/atk.h: No such file or directoryHaving the symlinks to the tcz in both directories goes back to the first case (can not find).
Any ideas?
Any work around?
Any other idea for a simple GUI network manager that will nor require python or any other monster? ;D
Title: Re: problem with atk-dev
Post by: robc on April 20, 2010, 12:24:35 PM
Quote
Any other idea for a simple GUI network manager that will nor require python or any other monster? ;D
TC is based on FLTK, you should be able to create a gui with that.
 
Quote
However atk-1.0 is there but the symlinks to the actual header files are in the /usr/local/include/atk-1.0/atk sub-folder.
So I moved them one level up to /atk-1.0 and now make proceeds till it stops again at atk headers because is now looking for it in /usr/local/include/atk-1.0/atk !
Code: [Select]
/usr/local/include/gtk-2.0/gtk/gtkwidget.h:40:21: error: atk/atk.h: No such file or directoryHaving the symlinks to the tcz in both directories goes back to the first case (can not find).
Any ideas?
Any work around?
Try this:
Code: [Select]
mv /usr/local/include/atk-1.0/atk/* /usr/local/include/atk-1.0
rm -rf /usr/local/include/atk-1.0/atk
ln -s /usr/local/include/atk-1.0 /usr/local/include/atk-1.0/atk
Title: Re: problem with atk-dev
Post by: mavrothal on April 20, 2010, 01:57:33 PM
Quote
Any other idea for a simple GUI network manager that will nor require python or any other monster? ;D
TC is based on FLTK, you should be able to create a gui with that.
  :o

Quote
Try this:
Code: [Select]
mv /usr/local/include/atk-1.0/atk/* /usr/local/include/atk-1.0
rm -rf /usr/local/include/atk-1.0/atk
ln -s /usr/local/include/atk-1.0 /usr/local/include/atk-1.0/atk
Not surprisingly, this gives the "cannot find file" error as in the case that both folders had the symlinks. above.
Title: Re: problem with atk-dev
Post by: curaga on April 20, 2010, 02:46:28 PM
The extension is fine, the error is not about the headers. It couldn't find the lib itself. Do you have atk.tcz installed?
Title: Re: problem with atk-dev
Post by: mavrothal on April 20, 2010, 03:58:33 PM
The extension is fine, the error is not about the headers. It couldn't find the lib itself. Do you have atk.tcz installed?
Apparently no! although is listed as a dependency for atk-dev. But I guess I'm still using 2.9...
Anyway, this did the trick.
But boy... this thing already looks like a monster...