WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: problem with atk-dev  (Read 2954 times)

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
problem with atk-dev
« on: April 20, 2010, 12:57:19 PM »
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

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: problem with atk-dev
« Reply #1 on: April 20, 2010, 03: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
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
Re: problem with atk-dev
« Reply #2 on: April 20, 2010, 04: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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: problem with atk-dev
« Reply #3 on: April 20, 2010, 05: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?
The only barriers that can stop you are the ones you create yourself.

Offline mavrothal

  • Newbie
  • *
  • Posts: 43
Re: problem with atk-dev
« Reply #4 on: April 20, 2010, 06: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...