Bug in most recent svn -stable branch

2006-03-23 Thread Lodewijk Bonebakker
When compiling lyx on Solaris 10, using an up-to-date gnu setup (updated 
autoconf, automake, etc). Compilation of the recent svn stable branch 
completes without problems.


At startup however, lyx displays the main window, reports a SIGSEGV, 
displays the 'please report a bug message' and core dumps.


The debugger reports:
#0 0xd09f1015 in _lwp_kill () from /usr/lib/libc.so.1

The following parameters were used for configure:
export LDFLAGS=-L/usr/lib
export CPPFLAGS=-I/usr/include
./configure --prefix=/opt/lyx/latest --with-x --with-frontend=xforms \
--with-packaging=posix --with-pic  --x-includes=/opt/sfw/include \
--x-libraries=/opt/sfw/lib --with-pspell=no --disable-static \
--enable-shared

RESULT=$?
if [ $RESULT -eq 0 ]; then
gmake
fi


I am now in the process of making a debug build.


Any suggestions?

Kind regards,

Lodewijk Bonebakker


Re: Bug in most recent svn -stable branch

2006-03-23 Thread Lars Gullik Bjønnes
Lodewijk Bonebakker [EMAIL PROTECTED] writes:

| When compiling lyx on Solaris 10, using an up-to-date gnu setup
| (updated autoconf, automake, etc). Compilation of the recent svn
| stable branch completes without problems.
| 
| At startup however, lyx displays the main window, reports a SIGSEGV,
| displays the 'please report a bug message' and core dumps.
| 
| The debugger reports:
| #0 0xd09f1015 in _lwp_kill () from /usr/lib/libc.so.1

Was this all you got?

| The following parameters were used for configure:
| export LDFLAGS=-L/usr/lib
| export CPPFLAGS=-I/usr/include
| ./configure --prefix=/opt/lyx/latest --with-x --with-frontend=xforms \
| --with-packaging=posix --with-pic  --x-includes=/opt/sfw/include \
| --x-libraries=/opt/sfw/lib --with-pspell=no --disable-static \
| --enable-shared

Please drop these two: --disable-static --enable-shared
they are not doing what you tink they do.
(probably drop --with-pic as well)

-- 
Lgb



Re: Bug in most recent svn -stable branch

2006-03-23 Thread Enrico Forestieri
Lodewijk Bonebakker [EMAIL PROTECTED] writes:
 
 When compiling lyx on Solaris 10, using an up-to-date gnu setup (updated 
 autoconf, automake, etc). Compilation of the recent svn stable branch 
 completes without problems.
 
 At startup however, lyx displays the main window, reports a SIGSEGV, 
 displays the 'please report a bug message' and core dumps.

I have no problems compiling LyX 1.4.x on Solaris 10 (sparc).

 The debugger reports:
 #0 0xd09f1015 in _lwp_kill () from /usr/lib/libc.so.1
 
 The following parameters were used for configure:
 export LDFLAGS=-L/usr/lib
 export CPPFLAGS=-I/usr/include
 ./configure --prefix=/opt/lyx/latest --with-x --with-frontend=xforms \
 --with-packaging=posix --with-pic  --x-includes=/opt/sfw/include \
 --x-libraries=/opt/sfw/lib --with-pspell=no --disable-static \
 --enable-shared

Your --x-includes and --x-libraries look suspicious, drop them.
However, you may need --with-extra-lib=/usr/X11/lib

 RESULT=$?
 if [ $RESULT -eq 0 ]; then
  gmake
 fi
 
 I am now in the process of making a debug build.
 
 Any suggestions?

I think that your configure options are wrong.

-- 
Enrico




Bug in most recent svn -stable branch

2006-03-23 Thread Lodewijk Bonebakker
When compiling lyx on Solaris 10, using an up-to-date gnu setup (updated 
autoconf, automake, etc). Compilation of the recent svn stable branch 
completes without problems.


At startup however, lyx displays the main window, reports a SIGSEGV, 
displays the 'please report a bug message' and core dumps.


The debugger reports:
#0 0xd09f1015 in _lwp_kill () from /usr/lib/libc.so.1

The following parameters were used for configure:
export LDFLAGS="-L/usr/lib"
export CPPFLAGS="-I/usr/include"
./configure --prefix=/opt/lyx/latest --with-x --with-frontend=xforms \
--with-packaging=posix --with-pic  --x-includes=/opt/sfw/include \
--x-libraries=/opt/sfw/lib --with-pspell=no --disable-static \
--enable-shared

RESULT=$?
if [ $RESULT -eq 0 ]; then
gmake
fi


I am now in the process of making a debug build.


Any suggestions?

Kind regards,

Lodewijk Bonebakker


Re: Bug in most recent svn -stable branch

2006-03-23 Thread Lars Gullik Bjønnes
Lodewijk Bonebakker <[EMAIL PROTECTED]> writes:

| When compiling lyx on Solaris 10, using an up-to-date gnu setup
| (updated autoconf, automake, etc). Compilation of the recent svn
| stable branch completes without problems.
| 
| At startup however, lyx displays the main window, reports a SIGSEGV,
| displays the 'please report a bug message' and core dumps.
| 
| The debugger reports:
| #0 0xd09f1015 in _lwp_kill () from /usr/lib/libc.so.1

Was this all you got?

| The following parameters were used for configure:
| export LDFLAGS="-L/usr/lib"
| export CPPFLAGS="-I/usr/include"
| ./configure --prefix=/opt/lyx/latest --with-x --with-frontend=xforms \
| --with-packaging=posix --with-pic  --x-includes=/opt/sfw/include \
| --x-libraries=/opt/sfw/lib --with-pspell=no --disable-static \
| --enable-shared

Please drop these two: --disable-static --enable-shared
they are not doing what you tink they do.
(probably drop --with-pic as well)

-- 
Lgb



Re: Bug in most recent svn -stable branch

2006-03-23 Thread Enrico Forestieri
Lodewijk Bonebakker <[EMAIL PROTECTED]> writes:
> 
> When compiling lyx on Solaris 10, using an up-to-date gnu setup (updated 
> autoconf, automake, etc). Compilation of the recent svn stable branch 
> completes without problems.
> 
> At startup however, lyx displays the main window, reports a SIGSEGV, 
> displays the 'please report a bug message' and core dumps.

I have no problems compiling LyX 1.4.x on Solaris 10 (sparc).

> The debugger reports:
> #0 0xd09f1015 in _lwp_kill () from /usr/lib/libc.so.1
> 
> The following parameters were used for configure:
> export LDFLAGS="-L/usr/lib"
> export CPPFLAGS="-I/usr/include"
> ./configure --prefix=/opt/lyx/latest --with-x --with-frontend=xforms \
> --with-packaging=posix --with-pic  --x-includes=/opt/sfw/include \
> --x-libraries=/opt/sfw/lib --with-pspell=no --disable-static \
> --enable-shared

Your --x-includes and --x-libraries look suspicious, drop them.
However, you may need --with-extra-lib=/usr/X11/lib

> RESULT=$?
> if [ $RESULT -eq 0 ]; then
>  gmake
> fi
> 
> I am now in the process of making a debug build.
> 
> Any suggestions?

I think that your configure options are wrong.

-- 
Enrico