Re: mutt on HP-UX 10.20 (585 Views)
Reply
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 1 of 20 (606 Views)

mutt on HPUX 10.20

Hello,

 

My configuration : HP9000 D390 with HPUX 10.20

 

I have installed gcc version 2.95.2. I try to compile mutt version 1.2.5 from source.

I get the following message :  error 1052: Directive name not recognized.

I have searched on web. It seems to be a problem with the "linker" program used with gcc.

 

Can someone help me resolve this issue ??

 

Thanks.

 

Laurent.

 

 

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,733
Registered: ‎06-21-2000
Message 2 of 20 (593 Views)

Re: mutt on HPUX 10.20

Did you get all of the dependencies required for MUTT?

 

According to http://hpux.connect.org.uk/hppd/hpux/Networking/Mail/mutt-1.5.21/ the build time dependencies for MUTT are:  gettext, libiconv, libidn, make and ncurses.

 

 

 

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 4 of 20 (574 Views)

Re: mutt on HP-UX 10.20

Hello Dennis,

 

I am not a specialist for compiling process on hpux.

 

Can I install the package binutils-2.9.1-1-10.20.sd with the version of gcc I have installed gcc-2.95.2-sd-10.20.depot ?

After I will be able to compile mutt ?

Could you help me.

 

Thanks.

 

Laurent.

 

 

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 5 of 20 (567 Views)

Re: mutt on HP-UX 10.20

>Can I install the package binutils-2.9.1-1-10.20.sd?

 

I would suggest you try.  I don't know if the version numbering is suppose to be consistent between the two?

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 6 of 20 (553 Views)

Re: mutt on HP-UX 10.20

[ Edited ]

Hello Denis,

 

I have installed slang and binutils.

I launch this command :    ./configure --prefix=/opt/mutt-1.2.5 --with-slang=/usr

 

I have attached the config.log.


Could you help me ?

 

 

Thanks.

 

Laurent.

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 7 of 20 (548 Views)

Re: mutt on HP-UX 10.20

>I have attached the config.log.

 

It is useless to look at this file unless you have a particular error in question.

Is your initial assembler error gone?

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 8 of 20 (546 Views)

Re: mutt on HP-UX 10.20

Yes, I have created a link in /usr/ccs/bin for as pointed to /usr/local/bin/as (binutil version).

When I launche "as -v" I got :

 

GNU assembler version 2.9.1 (hppa1.1-hp-hpux10.20), using BFD version 2.9.1

So I think it is ok for assembler issue.

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 9 of 20 (543 Views)

Re: mutt on HP-UX 10.20

[ Edited ]

>I have created a link in /usr/ccs/bin for as pointed to /usr/local/bin/as (binutil version).

 

Ack!  You should NOT be replacing HP's as(1) by a foreign devil version.  Just change your PATH so the one in /usr/local/bin/ is used.

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 10 of 20 (541 Views)

Re: mutt on HP-UX 10.20

how can I do that because /usr/local/bin is in PATH !!

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 11 of 20 (539 Views)

Re: mutt on HP-UX 10.20

[ Edited ]

>how can I do that because /usr/local/bin is in PATH.

 

Is it before both /usr/ccs/bin and /usr/bin?

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 12 of 20 (536 Views)

Re: mutt on HP-UX 10.20

echo $PATH

 

/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/pd/bin:/
usr/bin/X11:/usr/contrib/bin/X11:/opt/upgrade/bin:/opt/hparray/bin:/opt/resmon/b
in:/opt/pred/bin:/opt/hpnp//bin:/opt/ignite/bin:/opt/perf/bin:/opt/OV/bin/OpC:/o
pt/perl5/bin:/opt/lynx/bin:/opt/hpnpl//bin:/opt/gcc/bin:/usr/local/bin/:/sbin:/u
sr/local/bin:/opt/openssh/bin:/usr/local/mysql/bin:/var/dlc73e/bin

after.

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 13 of 20 (529 Views)

Re: mutt on HP-UX 10.20

>/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin: ...

 

So before you attempt to build mutt you should manually change PATH to:

PATH=/usr/local/bin:$PATH

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 14 of 20 (525 Views)

Re: mutt on HP-UX 10.20

When I change PATH with your information and reput the original as program in /usr/ccs/bin, I got this with configure command :

 

/disk12/mutt-1.2.5#./configure --prefix=/opt/mutt-1.2.5 --with-slang=/usr
creating cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... hppa2.0-hp-hpux10.20
checking for prefix... /opt/mutt-1.2.5
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 15 of 20 (522 Views)

Re: mutt on HP-UX 10.20

>configure: error: installation or configuration problem: C compiler cannot create executables.

 

Do you have a config.log for that?

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 16 of 20 (520 Views)

Re: mutt on HP-UX 10.20

yes.

 

 

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 17 of 20 (512 Views)

Re: mutt on HP-UX 10.20

>configure:1013: gcc -o conftest    conftest.c  1>&5
>as: "/var/tmp/ccUYU7md.s", line 16: error 1052: Directive name not recognized - NSUBSPA

Ok, it looks like you are stuck with a broken gcc that wants to use /usr/ccs/bin/as.  I suppose there may be a gcc option that tells you the path to as(1)?

 

Otherwise use your kludge put the gas version there.

Please use plain text.
Advisor
Mr GUENIER
Posts: 12
Registered: ‎07-06-2006
Message 18 of 20 (507 Views)

Re: mutt on HP-UX 10.20

[ Edited ]

Can I replace the original "as" by the gnu "as" or create a link to it ?? What is the best solution ?

 

 I think the path of "as" is "hard coded" in my gnu version (/usr/ccs/bin).

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,853
Registered: ‎03-06-2006
Message 19 of 20 (501 Views)

Re: mutt on HP-UX 10.20

>Can I replace the original "as" by the gnu "as" or create a link to it?

I would suggest you rename the original as(1) and then create a symlink to the Gnu version.  (You will get swverify errors after you do this.)

 

>I think the path of "as" is "hard coded"

 

It looks that way, if you have changed PATH properly and it still failed.

Please use plain text.
Honored Contributor
H.Merijn Brand (procura
Posts: 6,185
Registered: ‎10-13-1997
Message 20 of 20 (488 Views)

Re: mutt on HP-UX 10.20

You could also try gcc-3.4.6 or gcc-4.1.1 from my site that has a lot of (more recent) open-source depots for HP-UX 10.20

Note that gcc-4 was not able to producre a running perl5 on HP-UX

Enjoy, Have FUN! H.Merijn
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation