Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-07-2013, 02:12 PM
|
#1
|
LQ Newbie
Registered: Jul 2013
Location: EU
Posts: 20
Rep:
|
Problem with transmission.SlackBuild
Hello everyone. Hope topic, and everything is fine.
Sorry for my language skills also.
But lets go straight to my problem.
I'm running Slackware 14.1 multilib.
And Ive done it as Im doing it always.
http://slackbuilds.org/repository/14.../transmission/
Downloaded,unpacked - done as usual.
[CODE]
Code:
What ./transmission.SlackBuild gives me?
make[1]: Entering directory `/tmp/SBo/transmission-2.77/gtk'
make all-recursive
make[2]: Entering directory `/tmp/SBo/transmission-2.77/gtk'
Making all in icons
make[3]: Entering directory `/tmp/SBo/transmission-2.77/gtk/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SBo/transmission-2.77/gtk/icons'
make[3]: Entering directory `/tmp/SBo/transmission-2.77/gtk'
CC actions.o
actions.c:15:24: fatal error: glib/gi18n.h: No such file or directory
#include <glib/gi18n.h>[/CODE]
So tried to do
locate glib.h
Output
Code:
Output/usr/share/gtk-doc/html/glib/glib.html
/usr/src/linux-3.10.17/include/config/blk/dev/bsglib.h
/usr/src/linux-3.10.17/drivers/isdn/hardware/eicon/debuglib.h
/usr/include/libmm-glib/libmm-glib.h
/usr/include/libnm-glib/libnm_glib.h
/usr/include/glib-1.2/glib.h
/usr/include/glib-2.0/glib.h
/usr/include/jpeglib.h
/usr/include/harfbuzz/hb-glib.h
/usr/include/pygtk-2.0/pyglib.h
/usr/include/dbus-1.0/dbus/dbus-glib.h
/usr/include/taglib/taglib.h
/usr/include/seamonkey-2.22/jpeglib.h
AND
locate gil8n.h
Code:
usr/include/glib-2.0/glib/gi18n.h
I do not know how to handle this problem
Can You advise me what should I do now? How can i handle this problem ?
P.S Thats my first thread here so sorry for mistakes.
Thank You all for Your contribution, Waiting for any advice.
Best regards
D.W
Last edited by daniel w.; 12-07-2013 at 02:13 PM.
|
|
|
12-08-2013, 11:21 AM
|
#2
|
Member
Registered: Dec 2013
Location: /dev/Paracin
Distribution: Fedora 20
Posts: 31
Rep:
|
Hi daniel w,
If you are compiling Transmission you need to have those libraries in folder where you are compiling the program. So just copy that libraries into the folder where you are compiling the program and everything should work properly.
|
|
|
12-08-2013, 11:36 AM
|
#3
|
LQ Newbie
Registered: Jul 2013
Location: EU
Posts: 20
Original Poster
Rep:
|
Hello Protoss, and thank You for advice.
[CODE]bash-4.2# ls
BnetLog.txt doinst.sh slack-desc transmission.SlackBuild
README gi18n.h transmission-2.77.tar.bz2 transmission.info
[/CODE]
Im still getting the same error
Code:
make[3]: Entering directory `/tmp/SBo/transmission-2.77/gtk'
CC actions.o
actions.c:15:24: fatal error: glib/gi18n.h: No such file or directory
#include <glib/gi18n.h>
^
compilation terminated.
make[3]: *** [actions.o] Error 1
make[3]: Leaving directory `/tmp/SBo/transmission-2.77/gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/transmission-2.77/gtk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/SBo/transmission-2.77/gtk'
make: *** [all-recursive] Error 1
bash-4.2# ls
Any other ideas ?
But anyway thanks a lot
##
#
CRAP UNDONE
#
##
Last edited by daniel w.; 12-08-2013 at 03:13 PM.
Reason: bad advice
|
|
|
12-08-2013, 12:06 PM
|
#4
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
No, you don't copy the file into the directory where you're building Transmission.
Note that your gi18n.h (which is a header file, not a library) is installed in /usr/include/glib-2.0/glib. Transmission is likely looking in /usr/include/glib for the gi18n.h header file. You need to make sure transmission is looking for header files relative to /usr/include/glib-2.0.
I do not have a problem building transmission on my -current system, so I can't reproduce. First, let's see the output of the following:
Code:
grep GTK_CFLAGS /tmp/SBo/transmission-2.77/config.log
Code:
grep GTK_CFLAGS /tmp/SBo/transmission-2.77/gtk/Makefile
In both cases, you should see the text I've highlighted in red below. Once you know whether or not /usr/include/glib-2.0 is being included, you can start to figure out where the problem is occurring.
Code:
GTK_CFLAGS = -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng14
The -I is saying Include the directory when searching for header files. Transmission will look for glib/gi18n.h relative to the directories provided via the -I switches.
Last edited by weibullguy; 12-08-2013 at 12:08 PM.
Reason: Clarified path for grep
|
|
|
12-08-2013, 12:38 PM
|
#5
|
LQ Newbie
Registered: Jul 2013
Location: EU
Posts: 20
Original Poster
Rep:
|
Hello @weibullguy and thanks for Your reply.
Outputs You requested
Code:
grep GTK_CFLAGS /tmp/SBo/transmission-2.77/config.log
Code:
ac_cv_env_GTK_CFLAGS_set=
ac_cv_env_GTK_CFLAGS_value=
pkg_cv_GTK_CFLAGS=
GTK_CFLAGS=''
UPS?
Another one
Code:
grep GTK_CFLAGS /tmp/SBo/transmission-2.77/gtk/Makefile
UPS X2?
What shall I do now?
best regards and thank for Your contribution.
Daniel W.
|
|
|
12-08-2013, 03:09 PM
|
#6
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667
|
Quote:
hi daniel w,
if you are compiling transmission you need to have those libraries in folder where you are compiling the program. So just copy that libraries into the folder where you are compiling the program and everything should work properly.
|
do not do that !!!!!!!!!!!!!
this is not Microsoft visual studio being and used buy someone who dose not know how to use MS's visual studio
this is a Linux system !!!
|
|
|
12-09-2013, 07:42 AM
|
#7
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
You can try executing the script for transmission like this...
Code:
GTK_CFLAGS="-I/usr/include/glib" ./transmission.SlackBuild
Assuming nothing else is broken, this might get transmission built.
However, pkg-config should have picked up all the necessary GTK_CFLAGS information and it didn't. Check that you have the following *.pc files gtk+-3.0.pc, glib-2.0.pc, gio-2.0, gmodule-2.0, and gthread-2.0. They should be in the /usr/lib64/pkgconfig directory. If they exist, check the output of
Code:
pkg-config --cflags gtk+-3.0 glib-2.0 gio-2.0 gmodule-2.0 gthread-2.0
.
|
|
1 members found this post helpful.
|
12-09-2013, 08:06 AM
|
#8
|
LQ Newbie
Registered: Jul 2013
Location: EU
Posts: 20
Original Poster
Rep:
|
Code:
pkg-config --cflags gtk+-3.0 glib-2.0 gio-2.0 gmodule-2.0 gthread-2.0
Code:
Package atk-bridge-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `atk-bridge-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'atk-bridge-2.0', required by 'GTK+', not found
Damn,my system looks really bad now.
Ive installed it from DVD slack 14.0. Upgrade to current and add multilib compatibility.
Install fresh copy? Damn me. Frustrating!
Thank You Again
|
|
|
12-09-2013, 10:39 AM
|
#9
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
Yeah, your system looks broken. Most likely either happened when you upgraded or added multilib support. I've never had a problem upgrading using the following instructions --> http://docs.slackware.com/howtos:sla...:systemupgrade.
|
|
|
12-10-2013, 05:09 AM
|
#10
|
LQ Newbie
Registered: Jul 2013
Location: EU
Posts: 20
Original Poster
Rep:
|
Yeah, Ive installed my system again, using current .iso.
Thread can be closed, problem unsolved
.
Regards and Thank you all for contribution
Daniel W.
|
|
|
All times are GMT -5. The time now is 07:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|