Linux support - Ubuntu 12.04
Moderators: aardvark, davebush, Admin
Re: Linux support - Ubuntu 12.04
Okay here is one thing I found would like to share, even though I don't really know why.
Previously, before I fixed CoinRead issue. When I ran AESDemo under LinuxDemo/src directory with "sudo ./AESDemo", it did not return any user interface but bailed out. And now I found if I don't run it with sudo, it would work now. the AESDemo user interface comes up, and runs properly. So I am assuming the problem I had is just sudo. If I didn't run AESDemo with sudo, then it could be just fine in the first place.
Previously, before I fixed CoinRead issue. When I ran AESDemo under LinuxDemo/src directory with "sudo ./AESDemo", it did not return any user interface but bailed out. And now I found if I don't run it with sudo, it would work now. the AESDemo user interface comes up, and runs properly. So I am assuming the problem I had is just sudo. If I didn't run AESDemo with sudo, then it could be just fine in the first place.
Re: Linux support - Ubuntu 12.04
I would think that this is caused by sudo not having access to the X export variables within your shell.
Re: Linux support - Ubuntu 12.04
Hi there,
Sorry to bother again...
I have a new problem when I try the linux installation to a new Unbuntu PC today.
Here is the problem, I think gnome.h is missing from the LinuxDemo/src directory, so when I do the make at LinuxDemo dir, it gave me error as follows:
Can someone help me?
Thanks a lot,
Richard
Sorry to bother again...
I have a new problem when I try the linux installation to a new Unbuntu PC today.
Here is the problem, I think gnome.h is missing from the LinuxDemo/src directory, so when I do the make at LinuxDemo dir, it gave me error as follows:
This does not happen when I did the Linux download and installation last time...root@richard-Aspire-4920:/home/richard/PaylinkSourceDist/PayLink/LinuxDemo# whoami
root
root@richard-Aspire-4920:/home/richard/PaylinkSourceDist/PayLink/LinuxDemo# makemake all-recursive
make[1]: Entering directory `/home/richard/PaylinkSourceDist/PayLink/LinuxDemo'
Making all in src
make[2]: Entering directory `/home/richard/PaylinkSourceDist/PayLink/LinuxDemo/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/usr/include/libdrm -Wall -g -g -O2 -MT support.o -MD -MP -MF ".deps/support.Tpo" -c -o support.o support.c; \
then mv -f ".deps/support.Tpo" ".deps/support.Po"; else rm -f ".deps/support.Tpo"; exit 1; fi
support.c:33:19: serious error: gnome.h:No such file or directory
interpretation stopped.
make[2]: *** [support.o] Error 1
make[2]: Leaving directory `/home/richard/PaylinkSourceDist/PayLink/LinuxDemo/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/richard/PaylinkSourceDist/PayLink/LinuxDemo'
make: *** [all] Error 2
root@richard-Aspire-4920:/home/richard/PaylinkSourceDist/PayLink/LinuxDemo#
Can someone help me?
Thanks a lot,
Richard
Re: Linux support - Ubuntu 12.04
What version of Ubuntu adid you install, and what installation options did you chose?
Do you have the gnome package installed?
Do you have the gnome package installed?
Re: Linux support - Ubuntu 12.04
Hi aardvark,aardvark wrote:What version of Ubuntu adid you install, and what installation options did you chose?
Do you have the gnome package installed?
My Ubuntu is the same 12.04 which I had installation before.
And I did a "sudo apt-get install gnome" and installed the package, select gdm but not lightdm during installation. But the error about missing gnome.h is the same.
Richard
Re: Linux support - Ubuntu 12.04
It's mysterious - it just works for me.
What do you get when you run
What do you get when you run
I Get:locate gnome.h
Can you capture the output of your ./configure command and all the output of the make and I'll try comparing it all to mine./usr/include/libgnome-2.0/libgnome/libgnome.h
/usr/include/libgnomeui-2.0/gnome.h
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Re: Linux support - Ubuntu 12.04
my locate gnome.h is different from yours, not sure what I should do to fix it:
Thanks a lot!
Richard
Then I did ./configure, and at the end it told me package libgnomeui.2.0 is not found:root@richard-Aspire-4920:/home/richard# locate gnome.h
/usr/share/dbus-1/services/org.gnome.hamster.service
So what is the suggestted step to fix gnome problem?checking for PACKAGE... configure: error: Package requirements (libgnomeui-2.0 gtk+-2.0) were not met:
No package 'libgnomeui-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PACKAGE_CFLAGS
and PACKAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Thanks a lot!
Richard
Re: Linux support - Ubuntu 12.04
I am not a Linux expert - I use Windows for my everyday programming. I installed Ubuntu with development options and it just worked.
Looking around with Google, it appears that you need to make sure that you get development packages, otherwise you get run time packages.
Your configure message implies you need gtk+-2.0 - Using apt-cache show <package>, I can see I have the following:
Looking around with Google, it appears that you need to make sure that you get development packages, otherwise you get run time packages.
Your configure message implies you need gtk+-2.0 - Using apt-cache show <package>, I can see I have the following:
I suspect that getting these will also bring in the correct dependencies for gnome. If they don't, then the command:libgtk2.0-dev
libgnutls-dev
libsasl2-dev
gives me the list:apt-cache show .*gnome.*dev.* | grep Package:
I presume if your list is significantly different, then you should be able to do:Package: libgnome-desktop-3-dev
Package: libgnome-desktop-3-dev
Package: gnome-control-center-dev
Package: gnome-control-center-dev
Package: gnome-settings-daemon-dev
Package: gnome-settings-daemon-dev
Package: libgnomecanvas2-dev
Package: libgnomecanvas2-dev
Package: libgnome2-dev
Package: libgnome2-dev
Package: libgnome-keyring-dev
Package: libgnome-bluetooth-dev
Package: libgnome-control-center-dev
Package: libgnome-control-center-dev
Package: libgnome-desktop-dev
Package: libgnome-media-profiles-dev
Package: libgnome-menu-3-dev
Package: libgnome-menu-dev
Package: libgnome-vfs2.0-cil-dev
Package: libgnomevfs2-dev
Package: libgnomevfs2-dev
Package: libgnome2.0-cil-dev
Package: libgnomekbd-dev
Package: libgnomekbd-dev
Package: libgnomeui-dev
Package: libgsf-gnome-1-dev
Package: libsoup-gnome2.4-dev
Package: python-gnome2-desktop-dev
Package: python-gnome2-dev
Package: gnome-devel-docs
Package: gnome-core-devel
Package: gnome-platform-devel
Package: libgnomedesktop2.0-cil-dev
Package: gnome-devel
Package: libgnome-speech-dev
Package: gnome-video-effects-dev
Package: guile-gnome2-dev
Package: libgnome-vfsmm-2.6-dev
Package: libgnome-keyring1.0-cil-dev
Package: libgnome-mag-dev
Package: libgnomeada2.24.1-dev
Package: libgnomecanvasmm-2.6-dev
Package: libgnomecups1.0-dev
Package: libgnomemm-2.6-dev
Package: libgnomeprint2.2-dev
Package: libgnomeprintui2.2-dev
Package: libgnomescan-dev
Package: libgnomeuimm-2.6-dev
Package: libmimedir-gnome-dev
Package: liblablgtk2-gnome-ocaml-dev
Package: libopenrawgnome-dev
Package: python-gnome2-extras-dev
Package: ruby-gnome2-dev
apt-get .*gnome.*dev.* | grep Package:
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.
Re: Linux support - Ubuntu 12.04
Okay, I checked for gtk+-2.0, and I get:
Thanks,
Richard
And I tried:root@richard-Aspire-4920:/home/richard# apt-cache show gtk+-2.0 | grep Package:
Package: gir1.2-gtk-2.0
Package: gir1.2-spice-client-gtk-2.0
Package: libspice-client-gtk-2.0-1
Package: libspice-client-gtk-2.0-dev
root@richard-Aspire-4920:/home/richard#
The result list looks the same as yours... what should I try next.root@richard-Aspire-4920:/home/richard# apt-cache show .*gnome.*dev.* | grep Package:
Package: libgnome-desktop-3-dev
Package: libgnome-desktop-3-dev
Package: gnome-control-center-dev
Package: gnome-control-center-dev
Package: gnome-settings-daemon-dev
Package: gnome-settings-daemon-dev
Package: libgnomecanvas2-dev
Package: libgnomecanvas2-dev
Package: libgnome2-dev
Package: libgnome2-dev
Package: libgnome-keyring-dev
Package: libgnome-bluetooth-dev
Package: libgnome-control-center-dev
Package: libgnome-control-center-dev
Package: libgnome-desktop-dev
Package: libgnome-media-profiles-dev
Package: libgnome-menu-3-dev
Package: libgnome-menu-dev
Package: libgnome-vfs2.0-cil-dev
Package: libgnomevfs2-dev
Package: libgnomevfs2-dev
Package: libgnome2.0-cil-dev
Package: libgnomekbd-dev
Package: libgnomekbd-dev
Package: libgnomeui-dev
Package: libgsf-gnome-1-dev
Package: libsoup-gnome2.4-dev
Package: python-gnome2-desktop-dev
Package: python-gnome2-dev
Package: gnome-devel-docs
Package: gnome-core-devel
Package: gnome-platform-devel
Package: libgnomedesktop2.0-cil-dev
Package: gnome-devel
Package: libgnome-speech-dev
Package: gnome-video-effects-dev
Package: guile-gnome2-dev
Package: libgnome-vfsmm-2.6-dev
Package: libgnome-keyring1.0-cil-dev
Package: libgnome-mag-dev
Package: libgnomeada2.24.1-dev
Package: libgnomecanvasmm-2.6-dev
Package: libgnomecups1.0-dev
Package: libgnomemm-2.6-dev
Package: libgnomeprint2.2-dev
Package: libgnomeprintui2.2-dev
Package: libgnomescan-dev
Package: libgnomeuimm-2.6-dev
Package: libmimedir-gnome-dev
Package: liblablgtk2-gnome-ocaml-dev
Package: libopenrawgnome-dev
Package: python-gnome2-extras-dev
Package: ruby-gnome2-dev
root@richard-Aspire-4920:/home/richard#
Thanks,
Richard
Re: Linux support - Ubuntu 12.04
You don't seem to have these packages:
libgtk2.0-dev
libgnutls-dev
libsasl2-dev
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.