LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 07-17-2004, 09:12 PM   #1
Delsphynx
LQ Newbie
 
Registered: Jul 2004
Posts: 1

Rep: Reputation: 0
Can't install Perl Modules/Bugzilla


Well, I setup my first Linux system yesterday (Mandrake 10) and am trying to get Bugzilla up and running, and since I'm not very knowledgeable at all, I'm trying to follow the instructions on their site step-by-step for installation. I am currently at the part for installing the Template Toolkit and DBD::mysql.

When I am trying to install these modules, using perl -MCPAN the installation fails, as shown (sorry for the amount of code, but I figured someone can understand this better than I can...)

Code:
make[1]: Entering directory `/root/.cpan/build/Template-Toolkit-2.13/xs'
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -fomit-frame-pointer -
pipe -march=i586 -mcpu=pentiumpro   -DVERSION=\"2.13\" -
DXS_VERSION=\"2.13\" -fPIC "-I/usr/lib/perl5/5.8.3/i386-linux-thread-
multi/CORE"   Stash.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
Running Mkbootstrap for Template::Stash::XS ()
chmod 644 XS.bs
rm -f ../blib/arch/auto/Template/Stash/XS/XS.so
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib Stash.o  -o ../blib/arch/auto/Template/Stash/XS/XS.so
/usr/bin/ld: unrecognized option '--as-needed'
/usr/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/Template/Stash/XS/XS.so] Error 1
make[1]: Leaving directory `/root/.cpan/build/Template-Toolkit-2.13/xs'
make: *** [subdirs] Error 2
Any ideas? I literally don't have any idea about what it is doing, where it is getting --as needed, how to tell it to not be, etc. etc. etc.

The code above is for Template Toolkit, and the same failure also occurs on DBD::mysql. All other packages I needed seemed to work great...

I am truly at a loss...
 
  


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
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
Install additional perl modules? [GOD]Anck Slackware 3 03-21-2005 08:26 AM
Perl Modules and Qmail install problems bjokneti Linux - Newbie 1 12-24-2004 02:32 PM
how to list/install perl modules lsimon4180 Linux - Software 1 10-02-2004 12:57 PM
error when trying to install perl modules jimi_j Linux - Software 3 07-19-2004 11:17 PM

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

All times are GMT -5. The time now is 03:09 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