• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

DBD::mysql installation error on trustix linux  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Bartender
Posts: 19993
95
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!