• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DBD::mysql installation error on trustix linux

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have downloaded the DBD-mysql-3.0002.tar.gz and I ran perl Makefile.PL which went through but then I tried make and it failed.Then I am tried install the DBD:mysql module using -


perl -MCPAN -e 'install "DBD::mysql"'

Both the times I get the same error below:-

Running Mkbootstrap for DBD::mysql()

Chmod 644 mysql.bs

rm -f blib/arch/auto/DBD/mysql.mysql.so

LD_RUN_PATH=3D3D"" /usr/bin/perl5.8.5 myld gcc -shared -L /usr/local/lib dbdimp.o mysql.o -o /blib/arch/auto/DBD/mysql/mysql.so -L -------------some path---


/usr/bin/ld: line 1 syntax error near unexpected token 'newline'
/usr/bin/ld: line 1: '! < arch > '
collect2 : ld returned 2 exit status

make: *** [blib/arch/auto/DBD/mysql/mysql.so] Error 1

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

Any ideas???
Thanks,
Sai.

[ April 19, 2006: Message edited by: Sai Shanker ]

[ April 19, 2006: Message edited by: Sai Shanker ]
[ April 19, 2006: Message edited by: Sai Shanker ]
 
Sai Shanker
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Actually when i try to run "make" to install anything i get the same error.

/usr/bin/ld: line 1 syntax error near unexpected token 'newline'
/usr/bin/ld: line 1: '! < arch > '
collect2 : ld returned 2 exit status


I guess there is something really "fishy" which i am not able to catch. I have really got tired of seeing it.


Any ideas?
Thanks,
Sai.

[ April 20, 2006: Message edited by: Sai Shanker ]
[ April 20, 2006: Message edited by: Sai Shanker ]
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you create these files under Windows? Unix isn't very tolerant of the extra end-of-line character (^M) that Windows text files uses. Java's text I/O services will accept it and throw it away, but most native Unix apps will get annoyed.
 
Sai Shanker
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Tim,
Thanks for your help. As i had one last option i resorted to it. I formatted and reinstalled everything and it worked fine.
Thanks,
Sai.
[ April 25, 2006: Message edited by: Sai Shanker ]
reply
    Bookmark Topic Watch Topic
  • New Topic