Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-17-2004, 10:12 PM   #1
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...)

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
rm -f ../blib/arch/auto/Template/Stash/XS/
LD_RUN_PATH="" gcc  -shared -L/usr/local/lib Stash.o  -o ../blib/arch/auto/Template/Stash/XS/
/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/] 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...


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

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration