LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2003, 01:33 PM   #1
DarkSorrow
LQ Newbie
 
Registered: Aug 2003
Distribution: mandrake 9.1 (bamboo)
Posts: 12

Rep: Reputation: 0
Unhappy Help with xmule install?


Hi, I'm attempting to install xmule on my mandrake 9.1 system, but I am having some difficulty with the process. I downloaded the "xmule-1.4.3.tar.gz" file and proceed with the install with the "tar -xzvf xmule-1.4.3.tar.gz" command to unzip and install. This seemed to proceed successfully because directory was created for xmule with several executable files and other files. The problem arises with the fact that there doesn't seem to be an executable that launches the application. I would really appreciate it if someone could provide me with some assistance in this matter.
 
Old 08-19-2003, 02:19 PM   #2
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
What is your directory? source files (.c,...) ? In this case, you will have to compile your code using make (there should a file called makefile in your directory). If not, there must be a script somewhere among your files.

Is there a README file?

Give me some details in order to help you better.
 
Old 08-19-2003, 04:55 PM   #3
DarkSorrow
LQ Newbie
 
Registered: Aug 2003
Distribution: mandrake 9.1 (bamboo)
Posts: 12

Original Poster
Rep: Reputation: 0
I downloaded the xmule-1.4.3.tar.gz file and saved it in my home/harry directory. I then used the tar -zxvf xmule-1.4.3.tar.gz command to unzip and I thought install. Now I have a new directory under home/harry called xmule-1.4.3/ that contains the following files:

ABOUT-NLS config.rpath* install-sh* README
acinclude.m4 config.sub* intl/ README.makeng
aclocal.m4 configure* m4/ src/
AUTHORS configure.in Makefile.am TODO
ChangeLog COPYING Makefile.in xmule.desktop
Compilation.flags.in depcomp* Makengfile xmule.xpm
config.guess* docs/ missing*
config.h.in ED2K-Links.HOWTO mkinstalldirs*
config.log INSTALL po/

I have just read the INSTALL file and I am going to attempt this, so I'll probably be writing again if something goes wrong...thanks for your help and hopefully this will work.
 
Old 08-21-2003, 03:09 PM   #4
DarkSorrow
LQ Newbie
 
Registered: Aug 2003
Distribution: mandrake 9.1 (bamboo)
Posts: 12

Original Poster
Rep: Reputation: 0
sorry about the delay.....I am trying to figure out how to compile it now. I've read the INSTALL file and the readme file, but I'm getting a message saying

checking for wx-config... no
configure: error:
Please check that wx-config is in path, the directory
where wxWindows libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWindows is version 2.4.0 or above.
Or this might also be a bug in our configure. Please try again
with --with-wx-config=/usr/bin/wx-config
(replace /usr/bin/wx-config with a valid path to your wx-config)

when I run ./configure. I am not yet familiar with this wx-config file, where it should be, or where to get it from. I bought a book about beginning linux administration that indicated that I need to run the configure executable first and that then there would be a make file. If I'm wrong, please correct me? I really need a step by step explanation on how to do this.
 
Old 08-22-2003, 04:47 AM   #5
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Everything's fine ( concerning the delay)!!

Let's take each part of your question seperately!
FIrst:
Quote:
Originally posted by DarkSorrow
I bought a book about beginning linux administration that indicated that I need to run the configure executable first and that then there would be a make file.
Yes, this is true. Usually, when you install an application, you execute the configure script and then you compile the code using make. But, before going further, we should begin by fixing the error you get with the configure command.

Second,
Quote:
checking for wx-config... no
configure: error:
Please check that wx-config is in path, the directory
where wxWindows libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWindows is version 2.4.0 or above.
Or this might also be a bug in our configure. Please try again
with --with-wx-config=/usr/bin/wx-config
(replace /usr/bin/wx-config with a valid path to your wx-config)
This basically tells you that your are missing some libraries (wxWindows) for configure to run properly. They offer you different way of fixing it. Let's go through them one at the time:

- To check that wx-config is in your path, just type 'which wx-config' in a terminal. The output is the path where wx-config is installed. Then type 'echo $PATH' and see if the directory you obtained before is in the list. If yes, then go to the next step! If not, just add the following line to your .bashrc:
Code:
export PATH=$PATH:<the directory to add>
- Look where the variable LD_LIBRARY_PATH is defined. Then type 'wx-config--libs'. You will get things like that: -L/<some path> -lghk -L/<some other path>. Then add the directories listed there in the definition of the LD_LIBRARY_PATH variable. Also, you can check the version of wx-config by typing 'wx-config --version'.

- Finally, they suggest you to try to execute the configure script with the option like that: './configure --with-wx-config=<the output of which wx-config>.

So, first try this and tell me if it worked.

And just to tell you, i am afraid there is no standard step by step procedure for installation! Each package or program is different and that why you should always read the README or INSTALL file and apply what they tell you.

Hope this helps!
 
Old 08-22-2003, 04:55 AM   #6
Orococco
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 7

Rep: Reputation: 0
It's all explained:
Quote:
Originally posted by DarkSorrow

Please check that wx-config is in path, the directory
where wxWindows libraries are installed
So get these libraries install them and look for the next error to come up
 
Old 08-22-2003, 07:25 AM   #7
dorakyura
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 17

Rep: Reputation: 0
Hi!

Got the exact same problem here, i.e. when running the ./configure command I get:

checking for wx-config... no
configure: error:
Please check that wx-config is in path, the directory
where wxWindows libraries are installed (returned by
'wx-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and wxWindows is version 2.4.0 or above.
Or this might also be a bug in our configure. Please try again
with --with-wx-config=/usr/bin/wx-config
(replace /usr/bin/wx-config with a valid path to your wx-config)

Now I tried what you said arobic:
"which wx-config"
Didn't return anything (perhaps thats normal, I'm not sure)

"echo $PATH" returned:
/sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin

So I followed your step and typed:
"export PATH=$PATH:/usr/src/xmule-1.4.3"

And consequently the following was added to the echo command above:

:/usr/src/xmule-1.4.3

Next step I didn't know where to look for the LD_LIBRARY_PATH - where do I have to look?

I tried "ws-config --libs" but that only returned:
bash: wx-config: command not found

So, any idea as to what to do know?

thanks a lot
TCRK
 
Old 08-22-2003, 07:38 AM   #8
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
Hi dorakyura!

Quote:
Originally posted by dorakyura
[B]
Now I tried what you said arobic:
"which wx-config"
Didn't return anything (perhaps thats normal, I'm not sure)
If it didn't return anything, this means that wxWindows is not installed on your system. You should install it first. Otherwise, all I said is irrelevant! Sorry, I forgot to mention it...

Quote:
So I followed your step and typed:
"export PATH=$PATH:/usr/src/xmule-1.4.3"
This is not the good directory to add! What you should have add here is the result the directory where the wxWindows are installed (which wx-config result), not were the xmule source is! Don't forget that what you are trying to do here is to get configure to find wx-config libs...

Quote:
Next step I didn't know where to look for the LD_LIBRARY_PATH - where do I have to look?
Either in your configuration files (.bashrc or in /etc) or in the xmule package you are trying to install. Use grep to do that.

Quote:
I tried "ws-config --libs" but that only returned:
bash: wx-config: command not found
Of course, cause it is not installed on your machine...


So, first, go get wxWindows version 2.4.0 and install it. Otherwise, your xmule installation will never work!

Cheers!
 
Old 08-22-2003, 07:40 AM   #9
arobic
Member
 
Registered: Jul 2003
Location: Geneva, Switzerland
Distribution: Debian 3.1, SLC3 (based on RHEL)
Posts: 84

Rep: Reputation: 15
BTW

http://www.wxwindows.org/
 
Old 08-22-2003, 11:32 AM   #10
Tancrede
LQ Newbie
 
Registered: Jun 2003
Location: Calais, France
Distribution: Fedora Core 1
Posts: 27

Rep: Reputation: 15
Hi All !
I was used to play with P2P under Windoz for years now and Emule ( Xmule ) was my favorite.
Now i'm working with a Mdk 9.1, i've decided to install Xmule.
But it seems after weeks of testing, there are few bugs. ( Stranges deconnections ... )

So i've decided to install Overnet which seems to be as excellent as Emule. Simple, Easy, Less bugs....

Have you tried ?
Are there more stable P2P tools ?

Tks a lot !

Last edited by Tancrede; 08-22-2003 at 11:33 AM.
 
Old 08-23-2003, 06:08 AM   #11
DarkSorrow
LQ Newbie
 
Registered: Aug 2003
Distribution: mandrake 9.1 (bamboo)
Posts: 12

Original Poster
Rep: Reputation: 0
I was missing wxWindows, so I downloaded wxWindows-2.4.1 and in the process of installing it, I was also missing GTK+. I got it and installed it...subsequently the wxWindows install was successful. Now when I attempt the xmule install with the ./configure command, I get the same error as before. I follow your instructions by typing "which wx-config" and it still tells me that there is no such file, etc. I search the directory created by the wxWindows install and the only thing called wx-config@ is a shortcut to wxgtk-2.4-config. Here are the files contained in my wxWindows directory:

acinclude.m4 config.log distrib/ Mingw32-gcc295.patches version-script wxMotif.spec
aclocal.m4 config.status* docs/ misc/ version-script.in wxWINE.spec
art/ config.sub* include/ mkinstalldirs wxBase.spec wxwin.m4
autogen.sh* configure* install-sh* samples/ wx-config@ wxX11.spec
BuildCVS.txt configure.in lib/ setup.h.in wx-config.in*
configarg.cache contrib/ locale/ setup.h_vms wxgtk-2.4-config*
config.cache demos/ Makefile src/ wxGTK.spec
config.guess* descrip.mms Makefile.in utils/ wxMGL.spec

Is there a particular directory where I should have installed wxWindows or is there something else I did not do yet?
 
Old 08-23-2003, 12:33 PM   #12
dorakyura
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 17

Rep: Reputation: 0
Hi!

Ok, installing wxWindows of course solved the problem of ./configure not running properly.
So I ran it and the only thing which makes me suspicious is:

checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be fount
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config

I'm tried to install GTK respectively GTK+ / 2.2.0 but I got stuck too, so - since ./configure produced a makefile - I continued compiling. However, make returns the following:

make all-recursive
make[1]: Entering directory `/usr/src/xmule-1.4.3'
Making all in intl
make[2]: Entering directory `/usr/src/xmule-1.4.3/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/xmule-1.4.3/intl'
Making all in m4
make[2]: Entering directory `/usr/src/xmule-1.4.3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/xmule-1.4.3/m4'
Making all in src
make[2]: Entering directory `/usr/src/xmule-1.4.3/src'
Making all in wx
make[3]: Entering directory `/usr/src/xmule-1.4.3/src/wx'
Making all in xrc
make[4]: Entering directory `/usr/src/xmule-1.4.3/src/wx/xrc'
gcc -c xmlrole.c
gcc -c xmltok.c
gcc -c xmlparse.c
g++ -I../.. -c `/usr/local/bin/wx-config --cxxflags` xh_bmpbt.cpp
In file included from ../../wx/xrc/xh_bmpbt.h:18,
from xh_bmpbt.cpp:22:
../../wx/xrc/xmlres.h:23: wx/gdicmn.h: No such file or directory
In file included from ../../wx/xrc/xh_bmpbt.h:18,
from xh_bmpbt.cpp:22:
../../wx/xrc/xmlres.h:25: wx/bitmap.h: No such file or directory
../../wx/xrc/xmlres.h:26: wx/icon.h: No such file or directory
../../wx/xrc/xmlres.h:27: wx/artprov.h: No such file or directory
xh_bmpbt.cpp:23: wx/bmpbuttn.h: No such file or directory
make[4]: *** [xh_bmpbt.o] Error 1
make[4]: Leaving directory `/usr/src/xmule-1.4.3/src/wx/xrc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/xmule-1.4.3/src/wx'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/xmule-1.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/xmule-1.4.3'
make: *** [all] Error 2

So what exactly is he complaining about now?

thanks!
TCRK
 
Old 08-23-2003, 05:27 PM   #13
seneca
Member
 
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45

Rep: Reputation: 15
Quote:
Originally posted by dorakyura
So I ran it and the only thing which makes me suspicious is:

checking for GTK - version >= 1.2.0... no
The configure script tells you it needs GTK. And because you're trying to compile stuff, this means the dev packages. Go and get yourself GTK development packages for your distribution, install and re-run ./configure

This is because a small fraction of the GUI of xMule is still written in GTK (a part of the search window).

If you have an error in the configure output, it usually makes sense to solve this before trying to make stuff.

Regards.
 
Old 08-23-2003, 05:47 PM   #14
seneca
Member
 
Registered: Feb 2003
Location: Europe
Distribution: Debian
Posts: 45

Rep: Reputation: 15
Quote:
Originally posted by DarkSorrow
Now when I attempt the xmule install with the ./configure command, I get the same error as before. I follow your instructions by typing "which wx-config" and it still tells me that there is no such file, etc. I search the directory created by the wxWindows install and the only thing called wx-config@ is a shortcut to wxgtk-2.4-config. [...]
Is there a particular directory where I should have installed wxWindows or is there something else I did not do yet?
AFAIK, wxconfig being a symlink to another wxgtk* is usual. Maybe you have choosen an other directory for installing wxGTK which is not in the PATH of the Linker. You may like to enter the correct path in "/etc/ld.so.conf" and run "ldconfig" as root, afterwards (Check "man ldconfig" if ld.so.conf is not in /etc/). Then, try "which wx-config", again (as a user).

If it still doesn't find it, the most simple thing to do is to say configure where wx-config really is. Thus, use
Code:
./configure --with-wx-config=</your/path/to>/wx-config
That should do it.

Regards.
 
Old 08-24-2003, 09:18 AM   #15
dorakyura
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 17

Rep: Reputation: 0
step by step ;)

Ok, in order to install a proper version of GTK I went to www.gtk.org and downloaded the files for:
glib-1.2.10
gtk+-1.2.10
untared them and tried to install them (I hope these files are the right ones?).
glib went fine so I continued with gtk+ which - while executing ./configure - returned:

checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.8...
*** An old version of GLIB (1.2.5) was found.
*** You need a version of GLIB newer than 1.2.8. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org.
***
*** If you have already installed a sufficiently new version, this error
*** probably means that the wrong copy of the glib-config shell script is
*** being found. The easiest way to fix this is to remove the old version
*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the
*** correct copy of glib-config. (In this case, you will have to
*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf
*** so that the correct libraries are found at run-time))
no
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.

Obviously I did install a version better than 1.2.8 so I looked for the new glib-config file and pasted it to the place he was looking for it (/usr/bin). Is this a good idea at all? Actually I doubt it, but please tell me.
Nevertheless a new ./configure found a suitable version of glib *hurray* but returned yet another error *booh*

checking for GLIB - version >= 1.2.8... yes
checking for X... no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.

Isn't X the base of the whole desktop system? It should be there, shouldn't it?

thanks for helping!
TCRK
 
  


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
xmule Screener Linux - Newbie 5 02-11-2006 05:02 AM
Xmule install Crippledzero Linux - Newbie 2 09-29-2004 06:37 AM
Help with xMule Hopman Linux - Newbie 1 08-02-2004 06:50 AM
xmule-1.6.1.tar.gz - how to install? / how to use Wine? nando_d9 Linux - Software 2 10-15-2003 11:25 AM
xmule,wxwindows,gtk...install? DarkSorrow Linux - Software 4 09-17-2003 08:54 PM


All times are GMT -5. The time now is 06:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration