Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bug#14407: Can't compile emacs trunk on Solaris 11

0 views
Skip to first unread message

Paul Eggert

unread,
May 16, 2013, 11:59:05 PM5/16/13
to hua-ji...@oracle.com, 14...@debbugs.gnu.org
I tried to reproduce the problem on Solaris 10 sparc as well,
and can't do it. I also tried building 32-bit Emacs
implementations, using "gcc -m32", and couldn't reproduce
the problem there either.

I did notice serious problems in your build log
<http://debbugs.gnu.org/cgi/bugreport.cgi?msg=5;filename=compile-emacs-log.gz;att=1;bug=14407>;
pkg-config is repeatedly dumping core. For example:

checking for alsa >= 1.0.0... ./configure: line 8975: 906 Killed "$PKG_CONFIG" --exists "$ALSA_MODULES" 2>&5
no

So my guess is that /opt/csw is part of the problem.
I suggest that you build without using /opt/csw, by
removing it from your PATH, and then rebuilding from
scratch.

>> Which is the most-recent trunk bzr version that worked for you?
>> You can bisect to find that.
>
> A long time ago, but the release can work with --without-all

The idea of bisecting is that you can use binary search to
find out the exact revision number that stopped working
for you. It takes a bit of time, but it can be well worth
doing.

> And how can I compile a debugable emacs that I can use mdb/gdb to look
> into it?

That should happen by default. Just type "./configure; make"
in a fresh copy. Make sure /opt/csw is not mentioned in your
environment, though: "printenv | grep /opt/csw" should output nothing.



Paul Eggert

unread,
May 17, 2013, 5:32:57 PM5/17/13
to hua-ji...@oracle.com, 14407...@debbugs.gnu.org
On 05/17/2013 01:23 AM, Huajian Luo wrote:
> You're right, I delete /opt/csw/bin from my PATH and reconfigure with
> --without-x and voila it compiled with no error, even with today's git
> pull build.

Thanks for checking. I'll mark this bug as done for now,
since it seems to be a bug in /opt/csw rather than in Emacs.
We can reopen it if we discover that there's an Emacs problem.



Huajian Luo

unread,
May 18, 2013, 2:06:23 AM5/18/13
to Paul Eggert, 14407...@debbugs.gnu.org
OK, thank you very much for the help. now I've installed the 24.3 and
everything works well with --without-x.

Cheers,

Huajian.



0 new messages