RE: installing DBI on HPUX

2004-05-10 Thread NYIMI Jose (BMB)
> -Original Message-
> From: Christian Stalp [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 10, 2004 2:51 PM
> To: NYIMI Jose (BMB)
> Cc: [EMAIL PROTECTED]
> Subject: Re: installing DBI on HPUX
> 
> 
> 
> 
> 
> > You either need the HP ANSI C compiler or GCC. Since you 
> seem to use a 
> > perl which was build using the HP ANSI C compiler it's easiest to 
> > install that compiler on the system you're trying to get 
> DBI to work. 
> > However, you need to PAY for that compiler so you might 
> want to switch 
> > to GCC. I'm not entirely sure if you would need to recompile perl 
> > itself with GCC for that to work. (would be best no doubt)
> 
> Hello, I allready installed gcc but the Makefile calls the 
> HPUX-cc compiler. 
> (CC = cc )
> How can I tell the system to use the gcc instead of the cc?

If your perl has been compiled with cc, it will always generates the Makefile with 
CC=cc.
I'm afraid you will need to re-compile your perl with gcc.
Anyway, you can try to edit the Makefile and change CC=cc to CC=gcc
But I don't think this will work.

HTH,

José.


 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: installing DBI on HPUX

2004-05-10 Thread Peter Scott
In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Christian Stalp) writes:

>Hello, I allready installed gcc but the Makefile calls the HPUX-cc compiler. 
>(CC = cc )
>How can I tell the system to use the gcc instead of the cc?

perl Makefile.PL CC=/usr/local/bin/gcc

-- 
Peter Scott
http://www.perldebugged.com/
*** NEW *** http://www.perlmedic.com/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: installing DBI on HPUX

2004-05-10 Thread NYIMI Jose (BMB)
> -Original Message-
> From: Peter Scott [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 10, 2004 3:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: installing DBI on HPUX
> 
> 
> In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (Christian Stalp) writes:
> 
> >Hello, I allready installed gcc but the Makefile calls the HPUX-cc 
> >compiler.
> >(CC = cc )
> >How can I tell the system to use the gcc instead of the cc?
> 
> perl Makefile.PL CC=/usr/local/bin/gcc

This seems to be a better way to go.
But I'm still wondering if he don't have to re-compile its perl with gcc ?

José.



 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: installing DBI on HPUX

2004-05-10 Thread David Dorward
On 10 May 2004, at 11:44, Christian Stalp wrote:
I just tried to install the DBI-module for Perl.
Can't locate Test/More.pm
After that the make dosn't work either!
What can I do?
Install Test::More first.
(You might want to check out the CPAN module, which can be configured 
to auto-install dependancies for you)

--
David Dorward
 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: installing DBI on HPUX

2004-05-10 Thread Christian Stalp
I tryed it at another way. I got an older version: DBI-1.21 because I still 
use perl 5.6 not 5.6.1!

perl Makefile.pl works, all is fine.

But now I get this:

(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C 
product; ignored.
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C 
product; ignored.
(Bundled) cc: warning 480: The +Onolimit option is available only with the 
C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C 
product; ignored.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 532: error 
1000: Unexpected symbol: "nbytes".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 533: error 
1000: Unexpected symbol: "elements".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 534: error 
1000: Unexpected symbol: "size_t".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 532: error 
1506: Parameters allowed in function definition only.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 533: error 
1705: Function prototypes are an ANSI feature.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 533: error 
1573: Type of "size" is undefined due to an illegal declaration.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 534: error 
1705: Function prototypes are an ANSI feature.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 534: error 
1573: Type of "nbytes" is undefined due to an illegal declaration.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 537: error 
1705: Function prototypes are an ANSI feature.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 1816: error 
1000: Unexpected symbol: "SV".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/iperlsys.h", line 411: 
warning 5: "const" will become a keyword.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/iperlsys.h", line 411: 
error 1000: Unexpected symbol: "const".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/regexp.h", line 13: error 
1000: Unexpected symbol: "U8".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/sv.h", line 329: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/sv.h", line 330: error 
1000: Unexpected symbol: "ANY".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/sv.h", line 331: error 
1000: Unexpected symbol: "GV".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/cv.h", line 25: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/cv.h", line 26: error 
1000: Unexpected symbol: "ANY".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/cv.h", line 27: error 
1000: Unexpected symbol: "GV".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 14: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 14: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 15: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 15: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 16: error 
1000: Unexpected symbol: "U32".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 16: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 17: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 17: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 18: error 
1000:
Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 18: error 
1000:
Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/mg.h", line 23: error 
1000:
Unexpected symbol: "MAGIC".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/utf8.h", line 25: warning 
5: "const" will become a keyword.
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/utf8.h", line 25: error 
1000: Unexpected symbol: "unsigned".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 1852: error 
1000: Unexpected symbol: "CURCUR".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 2058: error 
1000: Unexpected symbol: "*".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 2059: error 
1000: Unexpected symbol: "I32".
(Bundled) cc: "/opt/perl5/lib/5.6.0/PA-RISC1.1/CORE/perl.h", line 2059: error 
1000: Unexpected symbol: "SV".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
---


It seems to me that I have some trouble with my c-compiler ???!

Gruss Christian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: installing DBI on HPUX

2004-05-10 Thread NYIMI Jose (BMB)
> -Original Message-
> From: Christian Stalp [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 10, 2004 12:44 PM
> To: [EMAIL PROTECTED]
> Subject: installing DBI on HPUX
> 
> 
> Hello together,
> I have a problem! I use a HP-PaRisc Server with HPUX 10.20 
> and I just tried to install the DBI-module for Perl.
> 
> After calling: perl Makefile.PL I got this warning:
> Warning: prerequisite Test::More failed to load: Can't locate 
> Test/More.pm in 

It seems that you don't have Test::More module installed.
Install Test::More first then install DBI.

An alternative is to use the CPAN module which will auto-install
dependencies for you
http://search.cpan.org/~timb/DBI-1.42/lib/Bundle/DBI.pm

Good luck,

José.



 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 




RE: installing DBI on HPUX

2004-05-10 Thread NYIMI Jose (BMB)

> -Original Message-
> From: Christian Stalp [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 10, 2004 1:27 PM
> To: [EMAIL PROTECTED]
> Cc: David Dorward
> Subject: Re: installing DBI on HPUX
> 
> 
> I tryed it at another way. I got an older version: DBI-1.21 
> because I still 
> use perl 5.6 not 5.6.1!
> 
> perl Makefile.pl works, all is fine.
> 
> But now I get this:
> 
> (Bundled) cc: warning 480: The -A option is available only 
> with the C/ANSI C 
> product; ignored.

I have done a quick search and these treads seems interesting to you:

http://www.bitmechanic.com/mail-archives/dbi-users/Mar1998/0777.html

I got the same errors the first time I compiled DBI.
My solution was to install gcc and recompile perl.
My system was a bare-bones HP-UX 10.20.
It sounds like you are useing the brain-dead cc that comes with HP.


http://www.mail-archive.com/[EMAIL PROTECTED]/msg16347.html

You either need the HP ANSI C compiler or GCC. Since you seem to use a perl
which was build using the HP ANSI C compiler it's easiest to install that
compiler on the system you're trying to get DBI to work. However, you need
to PAY for that compiler so you might want to switch to GCC. I'm not
entirely sure if you would need to recompile perl itself with GCC for that
to work. (would be best no doubt)



HTH,

José.


 DISCLAIMER 

"This e-mail and any attachment thereto may contain information which is confidential 
and/or protected by intellectual property rights and are intended for the sole use of 
the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, total or 
partial reproduction, communication or distribution in any form) by other persons than 
the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either by 
telephone or by e-mail and delete the material from any computer".

Thank you for your cooperation.

For further information about Proximus mobile phone services please see our website at 
http://www.proximus.be or refer to any Proximus agent.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Re: installing DBI on HPUX

2004-05-10 Thread Christian Stalp



> You either need the HP ANSI C compiler or GCC. Since you seem to use a perl
> which was build using the HP ANSI C compiler it's easiest to install that
> compiler on the system you're trying to get DBI to work. However, you need
> to PAY for that compiler so you might want to switch to GCC. I'm not
> entirely sure if you would need to recompile perl itself with GCC for that
> to work. (would be best no doubt)

Hello, I allready installed gcc but the Makefile calls the HPUX-cc compiler. 
(CC = cc )
How can I tell the system to use the gcc instead of the cc?

Gruss Christian

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]