(Trimming the Cc list, keeping only ports@)

Hany Aziz <[email protected]> writes:

> Thanks for the response.
>
> I have just tried again to install emacs 21 from the 5.2 release ports with
> no_X11 and again it gives me an error message. Is it possible to try to
> install just emacs 21 (and possibly git) from "current" without having to
> upgrade my entire install to the latest snapshot? Please note that I am
> a relative newbie at using both OpenBSD and ports though I do have some
> experience (intermediate) with using GNU/Linux in the past, so please be
> explicit with your instructions.

I don't know about the state of Git on vax, but Emacs wasn't available
there back in 5.0 and 5.1 either (I haven't looked at earlier releases,
for I don't have the url of a proper archive mirror at hand).

The fix mentioned by Stuart is, IMHO, only valid for -current, since 5.2
(-stable) emacs ports Makefiles didn't have PIE-related compile flags.
So if it doesn't build, it is probably for another reason.

If you want to try to debug the emacs flavors keep reading...

> Also am I correct that the correct way to pass FLAVORS=no_X11 is as an
> environmental variable that is then passed on to "make install", so
> this should work:
>
> env FLAVORS=no_x11 make install
>
> or maybe it should be:
>
> env FLAVORS=no_x11;  make install

No, the variable you should set is FLAVOR.  You want either:

$ env FLAVOR=no_x11 make install

or

$ export FLAVOR=no_x11; make install

(Or just:

$ FLAVOR=no_x11 make install

which works equally fine)

> I did read the appropriate section in the FAQ/Manual section 15 but
> while it does talk about FLAVORS it does not explicitly tell you how
> to pass the value to make.

But it points at the ports(7) manpage, which does. ;)

> BTW I had also tried to install emacs v 18.x using the source code from the
> FSF GNU website hoping that it's age and the fact that it was probably
> contemporary to the VAX as a new machine and probably older than GCC 2.9.5 but
> that compilation also failed.

I've never tried to debug it (I'm the editors/emacs maintainer), since
I have no vax hardware at hand and emulation using simh is pretty slow.
If you could come with a full log, it would be helpful.  I would even
say it would be cool. :)

Please see http://www.openbsd.org/faq/faq15.html#Problems for how to use
portslogger.  I suggest you try both editors/emacs21 and editors/emacs.

> Thanks.
>
> Sincerely,
>
> Hany.

-- 
Jérémie Courrèges-Anglas
GPG Key Fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Reply via email to