LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 04:25 PM   #1
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
SuSE 10.1 - XMLTV install problem


Although a tedious process, XMLTV installed and worked on SuSE 10.0. Compiling XMLTV requires kernel source and X devel packages which I did install. Installing the prerequisites for XMLTV on a new SuSE 10.1 system, I came across the following and am unsure how to proceed.

% cd /home/fragos/bin/xmltv/xmltv_prereq-7/00_Tk-804.027
% perl Makefile.PL PREFIX=/usr/local
% make test install
<snip>
LD_RUN_PATH="/usr/X11R6/lib" cc -shared -L/usr/local/lib64 Tk.o chnGlue.o encGlue.o evtGlue.o objGlue.o tixGlue.o tkGlue.o tkGlue_f.o tkWin32Dll.o -o blib/arch/auto/Tk/Tk.so pTk/libpTk.a \
-L/usr/X11R6/lib -lX11 -lm \

/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Tk/Tk.so] Error 1
Geo:/home/fragos/bin/xmltv/xmltv_prereq-7/00_Tk-804.027 #

----------------------------------------------
I found the following on Geek Times which may relate. I don't however know how to implement this in my example. Where would the mentioned flag go? Is there a different answer?

<Geek Times said>
When building a program designed to run in the X Window System I encountered the following error message:

make[1]: Entering directory `/usr/src/redhat/SOURCES/aterm-0.3.6/src'
gcc -O -o aterm [numerous object files elided] -lX11
/usr/bin/ld: cannot find -lX11

I was sure that I'd installed the X development package, so that wasn't the problem. (If you haven't already installed it, you may want to read Finding an RPM on the distribution media.) Why then couldn't the development environment find libX11.so?

It turns out that the /usr/X11R6/lib directory isn't part of the default ld(1) search path, so I needed to have the flag "-L/usr/X11R6/lib" somewhere before "-lX11" in the offending command.
 
Old 05-24-2006, 05:23 PM   #2
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Original Poster
Rep: Reputation: 51
Never did an answer to my problem so I experimented a bit. XMLTV came in two tarballs. My problem was the prerequisites tarball. I thought that if I tried to install XMLTV itself I might get extra insight. The main install asks a lot of questions, many relating to other country's TV networks. I kept my responses to the basic functionality and got a successful compile with warnings. I can now build a listings xml file from Zap2it on the web. TVtime successfully uses the TV schedule. Apparently whatever was missing didn't matter for my application. I can live with that.
 
  


Reply



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
MythTV Issues - XMLTV and No Sound Jongi Linux - Software 4 02-12-2006 02:49 PM
Installing XMLTV; ReadKey.pm error shubb Linux - Software 2 09-12-2005 03:13 PM
Problem with XMLTV in Freevo JvanEkris Linux - Software 1 12-02-2004 08:13 AM
xmltv Linux Toys book zuessh Linux - Software 0 06-13-2004 12:18 PM
"apt-get install xmltv" doesn't work Unreal7000 Linux - Software 4 06-03-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:43 AM.

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