LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 12-07-2013, 02:12 PM   #1
daniel w.
LQ Newbie
 
Registered: Jul 2013
Location: EU
Posts: 20

Rep: Reputation: Disabled
Question 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.
 
Old 12-08-2013, 11:21 AM   #2
ProtossPn
Member
 
Registered: Dec 2013
Location: /dev/Paracin
Distribution: Fedora 20
Posts: 31

Rep: Reputation: Disabled
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.
 
Old 12-08-2013, 11:36 AM   #3
daniel w.
LQ Newbie
 
Registered: Jul 2013
Location: EU
Posts: 20

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-08-2013, 12:06 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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
 
Old 12-08-2013, 12:38 PM   #5
daniel w.
LQ Newbie
 
Registered: Jul 2013
Location: EU
Posts: 20

Original Poster
Rep: Reputation: Disabled
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
Code:
GTK_CFLAGS =
UPS X2?


What shall I do now?

best regards and thank for Your contribution.
Daniel W.
 
Old 12-08-2013, 03:09 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,667

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
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 !!!
 
Old 12-09-2013, 07:42 AM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
Old 12-09-2013, 08:06 AM   #8
daniel w.
LQ Newbie
 
Registered: Jul 2013
Location: EU
Posts: 20

Original Poster
Rep: Reputation: Disabled
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
 
Old 12-09-2013, 10:39 AM   #9
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 12-10-2013, 05:09 AM   #10
daniel w.
LQ Newbie
 
Registered: Jul 2013
Location: EU
Posts: 20

Original Poster
Rep: Reputation: Disabled
Yeah, Ive installed my system again, using current .iso.

Thread can be closed, problem unsolved
.

Regards and Thank you all for contribution

Daniel W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I transmit image in NS2? Is video transmission similar to image transmission? linuxuday Linux - Networking 4 03-21-2013 10:29 AM
No transmission circlesdisplayed for wirless transmission in ns2 susanthomas Linux - Newbie 2 05-23-2012 02:14 AM
[SOLVED] Problem installing from transmission.slackbuild Laxman_prodigy Slackware 4 08-17-2011 05:12 AM
[SOLVED] flexget with transmission problem scarleo Linux - Software 1 12-13-2010 04:54 PM
[SOLVED] Transmission Slackbuild fails to compile on Slackware64 13.1 astanton Slackware 9 11-10-2010 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration