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.
|
 |
05-16-2005, 11:25 AM
|
#1
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Rep:
|
cPan install problems
Hello all, I could really use some help.
I have a redhat enterprise server that has just been installed from disk and never updated. i am trying to run BackupPc which is a perl frontend for rsync.
I am following this tutorial
My problem comes when i try to install some cpan modules, i run:
cpan
install Compress::Zlib Archive::Zip File::RsyncP
I get a slew of messages but the important ones seem to be
Code:
make[1]: *** [Digest.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/File-RsyncP-0.52/Digest'
make: *** [subdirs] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
I have never managed to complie anything on this machine. I have gcc 3.2.3 installed and if i run gcc -v i get
Code:
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
I think there is a simple answer to get the complier running but i don't know enough about linux to know where to start.
i would be a very happy lad if someone can shed some light on the situation.
|
|
|
05-17-2005, 01:12 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
The import messages will be slightly higher up than what you posted - it will probably ssay something about a missing file.
|
|
|
05-18-2005, 06:49 AM
|
#3
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
Heres the whole lot.
Code:
cpan> install Compress::Zlib Archive::Zip File::RsyncP
Running install for module Compress::Zlib
Running make for P/PM/PMQS/Compress-Zlib-1.34.tar.gz
Is already unwrapped into directory /root/.cpan/build/Compress-Zlib-1.34
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module Archive::Zip
Running make for N/NE/NEDKONZ/Archive-Zip-1.14.tar.gz
Is already unwrapped into directory /root/.cpan/build/Archive-Zip-1.14
Has already been processed within this session
Running make test
---- Unsatisfied dependencies detected during [N/NE/NEDKONZ/Archive-Zip-1.14.tar.gz] -----
Compress::Zlib
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] yes
Running make install
make had returned bad status, install seems impossible
Delayed until after prerequisites
Running install for module Compress::Zlib
Running make for P/PM/PMQS/Compress-Zlib-1.34.tar.gz
Is already unwrapped into directory /root/.cpan/build/Compress-Zlib-1.34
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running make for N/NE/NEDKONZ/Archive-Zip-1.14.tar.gz
Is already unwrapped into directory /root/.cpan/build/Archive-Zip-1.14
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module File::RsyncP
Running make for C/CB/CBARRATT/File-RsyncP-0.52.tar.gz
Is already unwrapped into directory /root/.cpan/build/File-RsyncP-0.52
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
|
|
|
05-18-2005, 06:52 AM
|
#4
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
This is a displayed when i load cpan
Code:
Undefined value assigned to typeglob at (eval 13) line 15, <RC> line 11.
Warning [/etc/inputrc line 11]:
Invalid variable `mark-symlinked-directories'
cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled
Can't ioctl TIOCGETP: Invalid argument
Consider installing Term::ReadKey from CPAN site nearby
at http://www.perl.com/CPAN
Or use
perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
|
|
|
05-18-2005, 01:56 PM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Can you clean your build directory then try the install again and post the results:
rm -f /root/.cpan/build/*
|
|
|
05-19-2005, 04:10 AM
|
#6
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
ok cleared the build dir and got the same messages. there is a bit missing from the top as by terminal buffer isn't big enough. if it critcal i'll get it
Code:
File-RsyncP-0.52/lib/File/RsyncP.pm
File-RsyncP-0.52/Digest/
File-RsyncP-0.52/Digest/t/
File-RsyncP-0.52/Digest/t/blockDigest.t
File-RsyncP-0.52/Digest/t/fileDigest.t
File-RsyncP-0.52/Digest/Changes
File-RsyncP-0.52/Digest/Digest.pm
File-RsyncP-0.52/Digest/Digest.xs
File-RsyncP-0.52/Digest/global.h
File-RsyncP-0.52/Digest/Makefile.PL
File-RsyncP-0.52/Digest/md4.h
File-RsyncP-0.52/Digest/md4c.c
File-RsyncP-0.52/Digest/rsync_lib.c
File-RsyncP-0.52/Digest/typemap
File-RsyncP-0.52/FileList/
File-RsyncP-0.52/FileList/t/
File-RsyncP-0.52/FileList/t/fileList.t
File-RsyncP-0.52/FileList/Changes
File-RsyncP-0.52/FileList/FileList.pm
File-RsyncP-0.52/FileList/FileList.xs
File-RsyncP-0.52/FileList/flist.c
File-RsyncP-0.52/FileList/flist.h
File-RsyncP-0.52/FileList/Makefile.PL
File-RsyncP-0.52/FileList/typemap
File-RsyncP-0.52/Changes
File-RsyncP-0.52/LICENSE
File-RsyncP-0.52/Makefile.PL
File-RsyncP-0.52/MANIFEST
File-RsyncP-0.52/README
CPAN.pm: Going to build C/CB/CBARRATT/File-RsyncP-0.52.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for File::RsyncP::Digest
Writing Makefile for File::RsyncP::FileList
Writing Makefile for File::RsyncP
cp lib/File/RsyncP/FileIO.pm blib/lib/File/RsyncP/FileIO.pm
cp lib/File/RsyncP.pm blib/lib/File/RsyncP.pm
make[1]: Entering directory `/root/.cpan/build/File-RsyncP-0.52/Digest'
cp Digest.pm ../blib/lib/File/RsyncP/Digest.pm
AutoSplitting ../blib/lib/File/RsyncP/Digest.pm (../blib/lib/auto/File/RsyncP/Digest)
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Digest.xs > Digest.xsc && mv Digest.xsc Digest.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386 -mcpu=i686 -DVERSION=\"0.52\" -DXS_VERSION=\"0.52\" -fPIC "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DPERL_BYTEORDER=1234 Digest.c
In file included from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:371:30: sys/types.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:402:19: ctype.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:414:23: locale.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:431:20: setjmp.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:437:26: sys/param.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:442:23: stdlib.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:447:23: unistd.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:479:23: string.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:612:27: netinet/in.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:616:26: arpa/inet.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:626:25: sys/stat.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:648:21: time.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:655:25: sys/time.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:662:27: sys/times.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:669:19: errno.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:681:25: sys/socket.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:708:21: netdb.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:805:30: sys/ioctl.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:834:23: dirent.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h:11,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:1163,
from Digest.xs:21:
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/include/limits.h:132:75: limits.h: No such file or directory
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:1768,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/handy.h:119:25: inttypes.h: No such file or directory
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:1932,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/unixish.h:106:21: signal.h: No such file or directory
In file included from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2027:33: pthread.h: No such file or directory
In file included from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2029: syntax error before "perl_os_thread"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2029: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2030: syntax error before "perl_mutex"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2030: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2031: syntax error before "perl_cond"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2031: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2032: syntax error before "perl_key"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2032: warning: data definition has no type or storage class
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/iperlsys.h:51,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2259,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:64:19: stdio.h: No such file or directory
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/iperlsys.h:51,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2259,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:244: syntax error before '*' token
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:247: syntax error before '*' token
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:247: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:250: syntax error before '*' token
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:250: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perlio.h:253: syntax error before "FILE"
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2262,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/sv.h:383: syntax error before "DIR"
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/sv.h:383: warning: no semicolon at end of struct or union
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/sv.h:383: warning: no semicolon at end of struct or union
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/sv.h:385: syntax error before '}' token
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/sv.h:385: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/sv.h:399: syntax error before '}' token
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/op.h:480,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2268,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:67:20: pwd.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:70:20: grp.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:73:22: netdb.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:76:43: stdlib.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:80:26: crypt.h: No such file or directory
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:85:27: shadow.h: No such file or directory
In file included from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/op.h:480,
from /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2268,
from Digest.xs:21:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:602: field `_crypt_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:610: field `_drand48_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:614: field `_grent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:625: field `_hostent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:644: field `_netent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:659: field `_protoent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:674: field `_pwent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:685: field `_servent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:700: field `_spent_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:711: field `_gmtime_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:714: field `_localtime_struct' has incomplete type
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/reentr.h:747: confused by earlier errors, bailing out
make[1]: *** [Digest.o] Error 1
make[1]: Leaving directory `/root/.cpan/build/File-RsyncP-0.52/Digest'
make: *** [subdirs] Error 2
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
cpan>
|
|
|
05-19-2005, 10:19 AM
|
#7
|
Member
Registered: Aug 2003
Posts: 150
Rep:
|
Install your distros glibc-devel package....
|
|
|
05-19-2005, 10:39 AM
|
#8
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
Ah i think i have been down this road, got confused and ran back.
I am running redhat enterprise and it's pretty much a fresh install
Is there a rpm i can use or do you know of a tutorial install guide. I tried to make sense of http://www.gnu.org/software/libc/ but it's all a bit beyond me
|
|
|
05-19-2005, 11:45 AM
|
#9
|
Member
Registered: Aug 2003
Posts: 150
Rep:
|
if you have a subscription for your ES setup you can do 'up2date glibc-devel' to install it, there should also be a rpm on your install media somewhere....
|
|
|
05-20-2005, 03:17 AM
|
#10
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
this is a test/development server so i don't have a subscription. I do have a subscription for our live main server but i want to get everything working 100% on my test system before even trying anything on our live server.
i'll have a look on my install CD. thanks 
|
|
|
05-20-2005, 03:29 AM
|
#11
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
everything seems to dependant on another RPM's. does it ever stop??
|
|
|
05-20-2005, 01:02 PM
|
#12
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
It will stop eventually, this is why I usually reccomend to people that they just install all of the development libraries unless they are setting up a minimal system.
|
|
|
05-23-2005, 03:12 AM
|
#13
|
Member
Registered: Apr 2005
Location: Norwich, UK
Posts: 30
Original Poster
Rep:
|
is there a single install with all the development libraries? Can it be done off the original install CD. That would make my life much easier
|
|
|
05-23-2005, 01:08 PM
|
#14
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You can install them from the original CDs, you should be able to start the package tool used during setup to choose the development packages.
|
|
|
All times are GMT -5. The time now is 09:22 AM.
|
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
|
|