HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Emacs build for ia64 HP-UX

 
Olivier Masse
Honored Contributor

Emacs build for ia64 HP-UX

Anybody has been able to compile a lean-n-mean emacs on HP-UX? Only one that supports curses, I'm not interested in supporting X11 at all.

I know I can fetch a binary emacs from the Porting Center, so I'll tell you in advance, >>zero<< points to anyone who will simply reply with a link to the porting center. Their version is a full build which depends a HUGE number of graphical libraries which I do not want to have to install and maintain on all my servers.

I tried both with the original source and the porting center source, both with gcc and aCC, and they all have problems which I'd rather not spend two days digging through.

Thanks
6 REPLIES
Steven E. Protter
Exalted Contributor

Re: Emacs build for ia64 HP-UX

Shalom,

If emacs is available on the porting center you should be able to follow the dependency instructions and get the depot to install.

Otherwise, you will need to compile the application.

The porting center has the gcc compile, a few dependencies, and you are good.

Another alternative is the http://software.hp.com

Search for Internet Express and see if emacs is listed there. Download and install.

Last suggestion, the hard road is to download the source yourself and compile it from scratch. You will need to make some changes to the code (minor) to get it to compile on HP-UX at all.

Internet Express might be your best path if emacs has been ported and compiled by HP.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Olivier Masse
Honored Contributor

Re: Emacs build for ia64 HP-UX

It used to be part of Internet Express, but not anymore, I have to use the one from the porting Center and don't want the gazillion libraries.

As for compiling myself, as mentionned I tried both but there are many problems.

Thanks

Re: Emacs build for ia64 HP-UX

You could also just use the PA version on Integrity.
Olivier Masse
Honored Contributor

Re: Emacs build for ia64 HP-UX

For the older Internet Express version to work, I have to force install it since the package is tagged as incompatible with 11.31.

I've finally been able to compile it using aCC and the version from the porting center, but it required fiddling temporarily with _mbstate_t.h during the build, something I'm *not* comfortable with... but it seems to work so I'm fine.

Thanks for the answers.
Olivier Masse
Honored Contributor

Re: Emacs build for ia64 HP-UX

Closed

Re: Emacs build for ia64 HP-UX

>but it required fiddling temporarily with _mbstate_t.h during the build, something I'm *not* comfortable with

I've had some experience with mbstate_t. We had to toss the first version of aC++'s -AA because we didn't use the official version.