Jump to content
Sign in to follow this  
maparus

Still trying to install tar files

Recommended Posts

I installed aMule from urpmi and because of some problems I had the aMule forum said I have to upgrade to aMule- 2.1.2. The only version I can find is a tar.file which I have always had problems with but Thought would try again. This is the result. What is it I need to do? I have never been able to install a tar file

 

Many thanks maparus

 

 

[maparus@localhost ~]$ su

Password:

[root@localhost maparus]# cd /home/maparus/Desktop/aMule-2.1.2

[root@localhost aMule-2.1.2]# ./configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for g++... no

checking for c++... no

checking for gpp... no

checking for aCC... no

checking for CC... no

checking for cxx... no

checking for cc++... no

checking for cl.exe... no

checking for FCC... no

checking for KCC... no

checking for RCC... no

checking for xlC_r... no

checking for xlC... no

checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables

See `config.log' for more details.

[root@localhost aMule-2.1.2]#

 

Asus K8V-X MB

Sempron 2800 64 bit cpu

Crucial CT6464Z40B - 512 mb PC3200ram

Powmax 400 watt PS

EVGA Geforce FX 5500 256 mb

Creative Sound Blaster Live 5.1

SupraExpress 56e Pro modem

Memorex 52x Cd-rom

HP CD-writer plus

Seagate 80gb Hard Drive

Windows xp & Mandriva 2006 32bit

Share this post


Link to post
Share on other sites

Do you have a C compiler installed? Rpms usually provide binaries which do not require compiling and are ready to go. On the other hand tarballs are often just a source code that needs to be compiled. For that to work, you need to have a C or C++ compiler installed on your system. It seems that ./configure it tried to find a C compiler and could not detect any.

Share this post


Link to post
Share on other sites

You don´t have gcc installed nor other packages needed to build amule. Anyway the latest version is 212 and Mandriva has an rpm for this too, you probably need newer versions of gtk and pango and that kind of stuff first, see of either mde or sos have the latest version or try do get cooker version to work (installing from source, altough sounding pretty cool is not very good, messes up the rpm database pretty badly)

Share this post


Link to post
Share on other sites
installing from source, altough sounding pretty cool is not very good, messes up the rpm database pretty badly

Disagree completely! Installing from source does not affect the rpm database at all, as long as you don't do silly things like installing older software which duplicates already installed rpm packages, or breaking the dependencies when uninstalling packages.On the other hand, throwing in newer rpm packages from cooker and non-Mandriva repositories can indeed break the rpm database.

Share this post


Link to post
Share on other sites

I checked urpmi for compiler and found nothing I then did a Google search for c++ to get more information and several said to install gcc.

I then checked Urpmi again for C++ and GCC and GCC is already installed Which file do I need to install then ?

 

[maparus@localhost ~]$ su

Password:

[root@localhost maparus]# urpmi gcc

The package(s) are already installed

[root@localhost maparus]# urpmi c++

no package named c++

The following packages contain c++:

ImageMagick-c++

ImageMagick-c++-devel

doc++

gcc-c++

gcc2.96-c++

gcc3.3-c++

libflac++5

libflac++5-devel

liboggflac++2

liboggflac++2-devel

libsigc++1.0_0

libsigc++1.0_0-devel

libsigc++1.0_0-examples

libsigc++1.2_5

libsigc++1.2_5-devel

libsigc++2.0-doc

libsigc++2.0_0

libsigc++2.0_0-devel

libstdc++2.10

libstdc++2.10-devel

libstdc++5

libstdc++5-devel

libstdc++5-static-devel

libstdc++6

libstdc++6-devel

libstdc++6-static-devel

lsb-build-c++-devel

mpic++

task-c++-devel

[root@localhost maparus]#

Share this post


Link to post
Share on other sites

Maybe:

 

urpmi gcc-c++

 

would do the trick.

Share this post


Link to post
Share on other sites

Most likely the source you are trying to compile does not like the builder too much... which gcc version you are using?

And yes, trying to build applications as root is a mistake... always build as user, and only in the last step do a

su -c "make install"

Installing applications from source is perfectly safe, and won't mess anything, of course.

Now, to the point: aMule is extremely unstable with WXGtk 2.4.X... you must install WXwidgets/WXGtk 2.6.X to compile it and have it running smoothly.

Share this post


Link to post
Share on other sites
Installing applications from source is perfectly safe, and won't mess anything, of course.

It can make uninstalling or upgrading from an rpm later a pain in the arse, although the checkinstall program could make that easier, though it doesnt seem to work with a lot of makefiles.

Edited by ffi

Share this post


Link to post
Share on other sites
It can make uninstalling or upgrading from an rpm later a pain in the arse, although the checkinstall program could make that easier, though it doesnt seem to work with a lot of makefiles.

This would be a pain in the arse which one called upon himself. Why would I want to upgrade from an rpm :cheeky: ? If the rpm does not work for me today, I doubt I will want to upgrade from the rpm in the future.

Share this post


Link to post
Share on other sites
This would be a pain in the arse which one called upon himself. Why would I want to upgrade from an rpm :cheeky: ? If the rpm does not work for me today, I doubt I will want to upgrade from the rpm in the future.

I think the "pain in the arse called upon oneself" is installing from a tar in the first place.

The problem is an ever expaning one.

First you make a single install from source and fix a few deps, the RPM DB doesn't know about these so then you try and install something else you are perfectly happy with the RPM but the lib version you have installed isn't the one in the RPM DB... so you end up installing that from source too. etc. etc.

 

The way to get round this is to build your own RPM and then install that.... and btw you might just want to install the RPM version if its a bug fix... but the major traps tend to be things like IM clients or p2p which have new or altered protcols and it takes a few weeks for the RPM to be built ...

Usually you can either wait or make your own RPM... if you make your own then you can upgrade tot he new patched RPM when available if not you are left to sort out your own deps.

Share this post


Link to post
Share on other sites

I wish I could make my own rpm´s, someone here already pointed me to some articles but is not very straight forward writing a spec file and building the rpm :(

Share this post


Link to post
Share on other sites

Here's ny latest attempt. Permission is denied unless I'm in root I would think that is because I extracted it in root. I know not to do that now. As you can see I still have some no's showing so what do I need know? WXGth2.6.x doesn't show up on urpmi so I suppose I'll have to get that else where

 

Again many thanks

 

 

[maparus@localhost aMule-2.1.2]$ ./configure

./configure: line 1550: config.log: Permission denied

./configure: line 1560: config.log: Permission denied

[maparus@localhost aMule-2.1.2]$ su

Password:

[root@localhost aMule-2.1.2]# cd /home/maparus/Desktop/aMule-2.1.2

[root@localhost aMule-2.1.2]# ./configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for g++... g++

checking for C++ compiler default output file name... a.out

checking whether the C++ compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ -E

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking whether make sets $(MAKE)... (cached) yes

checking for a BSD-compatible install... /usr/bin/install -c

checking for ranlib... ranlib

checking for bison... no

checking for byacc... no

checking for ranlib... (cached) ranlib

checking for strip... strip

checking for ar... ar

checking for ld... ld

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for zlib >= 1.1.4... no

checking for zlib in peer directory... no

configure: error: unable to use zlib - no peer found

[root@localhost aMule-2.1.2]#

Share this post


Link to post
Share on other sites

Why dont you try to download the rpm from cooker, see if it will install, it has the latest version, and yeah I made a mistake, you need the latest wxgtk, not latest gtk (btw you mistyped, it´s grk not gth, maybe that causes a problem).

 

wxGTK2.6-2.6.1-1mdk.i586.rpm is in 2006.0 main on anorien server.....

 

ftp://anorien.csc.warwick.ac.uk/Mandriva/...1-1mdk.i586.rpm

Edited by ffi

Share this post


Link to post
Share on other sites

It looks like you need zlib installing. Type:

 

rpm -qa | grep zlib

 

on mine it reports zlib1 and zlib1-devel. I suggest if you don't have these, to install using:

 

urpmi zlib1 zlib1-devel

 

the above command will install them both at the same time.

Share this post


Link to post
Share on other sites

One more time. This is my latest attempt

 

Password:

[root@localhost maparus]# urpmi zlibl zlibl-devel --noclean

no package named zlibl

no package named zlibl-devel

[root@localhost maparus]# urpmi zlib1 zlib1-devel --noclean

 

installing zlib1-devel-1.2.3-1mdk.i586.rpm from /var/ftp/pub/Mandrivalinux/media/main2

Preparing... #############################################

1/1: zlib1-devel #############################################

[root@localhost maparus]# cd /home/maparus/Desktop/aMule-2.1.2

[root@localhost aMule-2.1.2]# ./configure

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking target system type... i686-pc-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking whether to enable maintainer-specific portions of Makefiles... no

checking for g++... g++

checking for C++ compiler default output file name... a.out

checking whether the C++ compiler works... yes

checking whether we are cross compiling... no

checking for suffix of executables...

checking for suffix of object files... o

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking for style of include used by make... GNU

checking dependency style of g++... gcc3

checking how to run the C++ preprocessor... g++ -E

checking for gcc... gcc

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking how to run the C preprocessor... gcc -E

checking whether make sets $(MAKE)... (cached) yes

checking for a BSD-compatible install... /usr/bin/install -c

checking for ranlib... ranlib

checking for bison... no

checking for byacc... no

checking for ranlib... (cached) ranlib

checking for strip... strip

checking for ar... ar

checking for ld... ld

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking for zlib >= 1.1.4... yes (version 1.2.3)

checking whether we need the GUI... yes

checking for wx-config... no

configure: error:

wxWidgets must be installed on your system but wx-config

script couldn't be found. Please check that wx-config is

in path or specified by --with-wx-config=path flag, the

directory where wxWidgets libraries are installed (returned

by 'wx-config --libs' command) is in LD_LIBRARY_PATH or

equivalent variable and wxWidgets version is 2.6.0 or above.

 

 

[root@localhost maparus]# urpmi wxGTK2.6

The package(s) are already installed

[root@localhost maparus]#

 

What do I do now??

 

many thanks maparus

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...