1751975 Members
5192 Online
108784 Solutions
New Discussion

Re: mutt on HP-UX 10.20

 
Dennis Handly
Acclaimed Contributor

Re: mutt on HP-UX 10.20

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

 

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

Mr GUENIER
Advisor

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.

Dennis Handly
Acclaimed Contributor

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

Mr GUENIER
Advisor

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.

Dennis Handly
Acclaimed Contributor

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?

Mr GUENIER
Advisor

Re: mutt on HP-UX 10.20

yes.

 

 

Dennis Handly
Acclaimed Contributor

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.

Mr GUENIER
Advisor

Re: mutt on HP-UX 10.20

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).

Dennis Handly
Acclaimed Contributor

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.

H.Merijn Brand (procura
Honored Contributor

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