pkg-config --cflags --libs gtk+-3.0: No such file or directory
pkg-config --cflags --libs gtk+-3.0: No such file or directory
dear reader
Yet more Linux Sh....
an apparantly well documented error
when using
gcc gtktest.c -o pl 'pkg-config --cflags --libs gtk+-2.0.pc'
results in the error
gcc: error: pkg-config --cflags --libs gtk+-3.0: No such file or directory
but sadly it is there ...
pkg-config --modversion gtk+-3.0
3.22.30
and this is consistent with the ... lib64/pkgconfig/gtk+-3.0.pc
entry
[so is gtk+-2.0
pkg-config --modversion gtk+-2.0
2.24.31]
[incidentally downloaded from epel repos shortly prior to the gcc test]
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
didnt help
anyone any ideas why
regards mike b
Yet more Linux Sh....
an apparantly well documented error
when using
gcc gtktest.c -o pl 'pkg-config --cflags --libs gtk+-2.0.pc'
results in the error
gcc: error: pkg-config --cflags --libs gtk+-3.0: No such file or directory
but sadly it is there ...
pkg-config --modversion gtk+-3.0
3.22.30
and this is consistent with the ... lib64/pkgconfig/gtk+-3.0.pc
entry
[so is gtk+-2.0
pkg-config --modversion gtk+-2.0
2.24.31]
[incidentally downloaded from epel repos shortly prior to the gcc test]
export PKG_CONFIG_PATH=/usr/lib64/pkgconfig
didnt help
anyone any ideas why
regards mike b
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
32 vs 64 bit?
yum provides '*/gtk+-3.0.pc'
...
Filename : /usr/lib/pkgconfig/gtk+-3.0.pc
...
Filename : /usr/lib64/pkgconfig/gtk+-3.0.pc
yum provides '*/gtk+-3.0.pc'
...
Filename : /usr/lib/pkgconfig/gtk+-3.0.pc
...
Filename : /usr/lib64/pkgconfig/gtk+-3.0.pc
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
good question Trevor
theres NO 32 bit install of the gtk+ only lib64
the gcc is default so presumably 64 bit
using gcc option -m32 makes no difference to the 'not found' which doesn't surprise me as it should look first for its environment and thus the directories before compiling
so you maybe on the right lines in that its somehow looking in lib not lib64 but then how do you explain the specific path not working and the pkg-config locating it .. thats what i couldnt figure
thanks though
mike b
ps ill copy it into lib and see what happens but im pretty sure its going to make no difference
theres NO 32 bit install of the gtk+ only lib64
the gcc is default so presumably 64 bit
using gcc option -m32 makes no difference to the 'not found' which doesn't surprise me as it should look first for its environment and thus the directories before compiling
so you maybe on the right lines in that its somehow looking in lib not lib64 but then how do you explain the specific path not working and the pkg-config locating it .. thats what i couldnt figure
thanks though
mike b
ps ill copy it into lib and see what happens but im pretty sure its going to make no difference
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
Just install the right package from the yum provides I gave you. Don't copy the file.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
Trevor ...
i did use the yum command from epel as stated .. ive already made that clear in the screed
and adding a symbolic link to the directory from lib --> lib64 didnt have any effect
regards mikeb
i did use the yum command from epel as stated .. ive already made that clear in the screed
and adding a symbolic link to the directory from lib --> lib64 didnt have any effect
regards mikeb
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
So you ran yum install gtk3-devel.i686 and then tried and it didn't work?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
That's two mistakes in one line. Correct is:
Code: Select all
gcc gtktest.c -o pl `pkg-config --cflags --libs gtk+-2.0`
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
thanks
the original cut and paste has two errors in it
firstly i was using 3.0 and only tried fully qualifying the name .pc and /usr/... later of which this is a residue
using gtk+-3.0 gave the same result so although the cut and paste is wrong what ive tried isnt wrong im afraid but thanks for pointing it out
ie i used ' pkg-config --cflags --libs gtk+-3.0' and tried 2.0 for good measure since both are there as stated
Trevor
i downloaded used yum -y install gtk+ to get both versions 2.0 and 3.0 from the epel repository
as to the the ....i686 [ i want 64 bit and wasnt sure if this is x32 ]
interestingly i used yum ... i686 just now
unset the PKG_CONFIG_PATH just in case
but with absolutely no difference
SAME RESULT
any one know why ?????
regards mike b
the original cut and paste has two errors in it
firstly i was using 3.0 and only tried fully qualifying the name .pc and /usr/... later of which this is a residue
using gtk+-3.0 gave the same result so although the cut and paste is wrong what ive tried isnt wrong im afraid but thanks for pointing it out
ie i used ' pkg-config --cflags --libs gtk+-3.0' and tried 2.0 for good measure since both are there as stated
Trevor
i downloaded used yum -y install gtk+ to get both versions 2.0 and 3.0 from the epel repository
as to the the ....i686 [ i want 64 bit and wasnt sure if this is x32 ]
interestingly i used yum ... i686 just now
unset the PKG_CONFIG_PATH just in case
but with absolutely no difference
SAME RESULT
any one know why ?????
regards mike b
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
Chemal .. excellent .!!!! thanks
BACKTICKS .. i didnt even know they existed and certainly would never have noticed them with my RUBBISH EYESIGHT
they are rather worn on this second hand laptop and not at all visible in mitigation
many thanks to yourself and Trevor for your suggestions and help
regards mike b
BACKTICKS .. i didnt even know they existed and certainly would never have noticed them with my RUBBISH EYESIGHT
they are rather worn on this second hand laptop and not at all visible in mitigation
many thanks to yourself and Trevor for your suggestions and help
regards mike b
Re: pkg-config --cflags --libs gtk+-3.0: No such file or directory
Sequel
runs fine under gtk+-2.0 which is what the test was aimed at
link to tutorial : https://www.codeguru.com/cpp/cpp/creati ... h-gtk.html
which is a good starting point
[under 3.0 throws an error
gtktest.c:(.text+0xf9): undefined reference to `GTK_OBJECT'
collect2: error: ld returned 1 exit status
which surprises me a little ]
regards mike b
runs fine under gtk+-2.0 which is what the test was aimed at
link to tutorial : https://www.codeguru.com/cpp/cpp/creati ... h-gtk.html
which is a good starting point
[under 3.0 throws an error
gtktest.c:(.text+0xf9): undefined reference to `GTK_OBJECT'
collect2: error: ld returned 1 exit status
which surprises me a little ]
regards mike b