Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-21 Thread Jean-Marc Lasgouttes
 Bo == Bo Peng [EMAIL PROTECTED] writes:

 No, it's the opengl (3D rendering) libraries. If you don't have it,
 then you must compile a Qt version that doesn't include the
 support.

Bo I found the lib and use --with-extra-lib to refer to it. I can
Bo then configure and make. However, make stops with error message:
Bo can not find ... lib. It works again after I set setenv
Bo LD_LIBRARY_PATH 'every lib pathes'

What is this exact path? What libs? Did you set --with-extra-lib to
refer to all these paths?

JMarc


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-21 Thread Bo Peng

 Bo I found the lib and use --with-extra-lib to refer to it. I can
 Bo then configure and make. However, make stops with error message:
 Bo can not find ... lib. It works again after I set setenv
 Bo LD_LIBRARY_PATH 'every lib pathes'

 What is this exact path? What libs? Did you set --with-extra-lib to
 refer to all these paths?

The only missing path is for libGL.so.3 (opengl) so I set it with 
--with-extra-lib. ./configure will run correctly but I need to set 
LD_LIBRARY_PATH to make.

Afterwards, I need to set LD_LIBRARY_PATH that includes all necessary 
lib pathes such as qt, stdc++, opengl to let lyx run. This is actually a 
gcc issue since our system administrator warned us that we have to set 
LD_LIBRARY_PATH since the programs that are compiled by the newly 
upgraded gcc `will not know system lib pathes'.

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-21 Thread Jean-Marc Lasgouttes
 Bo == Bo Peng [EMAIL PROTECTED] writes:

 No, it's the opengl (3D rendering) libraries. If you don't have it,
 then you must compile a Qt version that doesn't include the
 support.

Bo I found the lib and use --with-extra-lib to refer to it. I can
Bo then configure and make. However, make stops with error message:
Bo can not find ... lib. It works again after I set setenv
Bo LD_LIBRARY_PATH 'every lib pathes'

What is this exact path? What libs? Did you set --with-extra-lib to
refer to all these paths?

JMarc


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-21 Thread Bo Peng

 Bo I found the lib and use --with-extra-lib to refer to it. I can
 Bo then configure and make. However, make stops with error message:
 Bo can not find ... lib. It works again after I set setenv
 Bo LD_LIBRARY_PATH 'every lib pathes'

 What is this exact path? What libs? Did you set --with-extra-lib to
 refer to all these paths?

The only missing path is for libGL.so.3 (opengl) so I set it with 
--with-extra-lib. ./configure will run correctly but I need to set 
LD_LIBRARY_PATH to make.

Afterwards, I need to set LD_LIBRARY_PATH that includes all necessary 
lib pathes such as qt, stdc++, opengl to let lyx run. This is actually a 
gcc issue since our system administrator warned us that we have to set 
LD_LIBRARY_PATH since the programs that are compiled by the newly 
upgraded gcc `will not know system lib pathes'.

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-21 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:

>> No, it's the opengl (3D rendering) libraries. If you don't have it,
>> then you must compile a Qt version that doesn't include the
>> support.

Bo> I found the lib and use --with-extra-lib to refer to it. I can
Bo> then configure and make. However, make stops with error message:
Bo> can not find ... lib. It works again after I set setenv
Bo> LD_LIBRARY_PATH 'every lib pathes'

What is this exact path? What libs? Did you set --with-extra-lib to
refer to all these paths?

JMarc


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-21 Thread Bo Peng

> Bo> I found the lib and use --with-extra-lib to refer to it. I can
> Bo> then configure and make. However, make stops with error message:
> Bo> can not find ... lib. It works again after I set setenv
> Bo> LD_LIBRARY_PATH 'every lib pathes'

> What is this exact path? What libs? Did you set --with-extra-lib to
> refer to all these paths?

The only missing path is for libGL.so.3 (opengl) so I set it with 
--with-extra-lib. ./configure will run correctly but I need to set 
LD_LIBRARY_PATH to make.

Afterwards, I need to set LD_LIBRARY_PATH that includes all necessary 
lib pathes such as qt, stdc++, opengl to let lyx run. This is actually a 
gcc issue since our system administrator warned us that we have to set 
LD_LIBRARY_PATH since the programs that are compiled by the newly 
upgraded gcc `will not know system lib pathes'.

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 12:25:37PM -0600, Bo Peng wrote:

 configure: error: Cannot compile a simple Qt executable. Check you have the right 
 $QTDIR !

We need to see config.log

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
  configure: error: Cannot compile a simple Qt executable. Check you 
  have the right $QTDIR !

 We need to see config.log

It is attached.

-- 
Bo Peng
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lyx configure 1.3.1, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/home/helpdesk/trial/lyx-1.3 --with-frontend=qt 
--with-extra-prefix=/opt1/opt.CORE/xpm-3.4k/sunos5 --with-qt-dir=/usr/site/qt 
--with-version-suffix

## - ##
## Platform. ##
## - ##

hostname = stat007.stat.rice.edu
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-16

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = stat007.stat.rice.edu
Release = 5.8
KernelID = Generic_108528-16
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch  = sun4
/usr/bin/arch -k   = sun4u
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/site/latex2html/bin
PATH: .
PATH: /home/helpdesk/bin
PATH: /home/helpdesk/newbin
PATH: /home/helpdesk/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /usr/local/bin
PATH: /usr/site/ssh-2.4.0/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/SUNWspro/bin
PATH: /usr/openwin/bin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/site/teTeX/bin
PATH: /usr/site/mozilla/bin
PATH: /usr/dt/bin
PATH: /opt/gnome-1.4/bin


## --- ##
## Core tests. ##
## --- ##

configure:1486: checking build system type
configure:1504: result: sparc-sun-solaris2.8
configure:1512: checking host system type
configure:1526: result: sparc-sun-solaris2.8
configure:1534: checking target system type
configure:1548: result: sparc-sun-solaris2.8
configure:1564: checking for install target ... 
configure:1580: result: lyx-1.3.1
configure:1597: checking for a BSD-compatible install
configure:1651: result: config/install-sh -c
configure:1662: checking whether build environment is sane
configure:1705: result: yes
configure:1738: checking for gawk
configure:1767: result: no
configure:1738: checking for mawk
configure:1767: result: no
configure:1738: checking for nawk
configure:1754: found /bin/nawk
configure:1764: result: nawk
configure:1774: checking whether make sets ${MAKE}
configure:1794: result: yes
configure:1954: checking whether make sets ${MAKE}
configure:1974: result: yes
configure:1995: checking for a BSD-compatible install
configure:2049: result: config/install-sh -c
configure:2063: checking for kpsewhich
configure:2079: found /usr/local/bin/kpsewhich
configure:2090: result: kpsewhich
configure:2108: checking for gm4
configure:2137: result: no
configure:2108: checking for gnum4
configure:2137: result: no
configure:2108: checking for m4
configure:2124: found /usr/ccs/bin/m4
configure:2134: result: m4
configure:2199: checking for gcc
configure:2215: found /usr/local/bin/gcc
configure:2225: result: gcc
configure:2469: checking for C compiler version
configure:2472: gcc --version /dev/null 5
gcc (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2475: $? = 0
configure:2477: gcc -v /dev/null 5
Reading specs from /usr/site/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: /build/gcc-3.2.1/src/dist/configure --prefix=/usr/site/gcc-3.2.1 
--enable-shared=libstdc++
Thread model: posix
gcc version 3.2.1
configure:2480: $? = 0
configure:2482: gcc -V /dev/null 5
gcc: argument to `-V' is missing
configure:2485: $? = 1
configure:2511: checking for C compiler default output
configure:2514: gccconftest.c  5
configure:2517: $? = 0
configure:2550: result: a.out
configure:2555: checking whether the C compiler works
configure:2561: ./a.out
configure:2564: $? = 0
configure:2579: result: yes
configure:2586: checking whether we are cross compiling
configure:2588: result: no
configure:2591: checking for suffix of executables
configure:2593: gcc -o conftestconftest.c  5
configure:2596: $? = 0
configure:2618: result: 
configure:2624: checking for suffix of object files
configure:2648: gcc -c   conftest.c 5
configure:2651: $? = 0
configure:2670: result: o
configure:2674: checking whether we are using the GNU C compiler
configure:2701: gcc -c   conftest.c 5
configure:2704: $? = 0
configure:2707: test -s conftest.o
configure:2710: $? = 0
configure:2722: result: yes
configure:2728: checking whether gcc accepts -g
configure:2752: gcc -c -g  conftest.c 5
configure:2755: $? = 0
configure:2758: test -s conftest.o
configure:2761: $? = 0
configure:2771: result: yes
configure:2798: gcc -c -g -O2  conftest.c 5
conftest.c:2: 

Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 01:41:03PM -0600, Bo Peng wrote:

 configure:11820: g++ -o conftest -O -fno-exceptions -I/usr/site/qt//include 
 -L/usr/site/qt//lib  -I/opt1/opt.CORE/xpm-3.4k/sunos5/include  -isystem 
 /usr/openwin/include  -L/opt1/opt.CORE/xpm-3.4k/sunos5/lib 
 -Wl,-R/opt1/opt.CORE/xpm-3.4k/sunos5/lib conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket  -lnsl -lqt-mt 5
 ld: warning: file libGL.so.1: required by /usr/site/qt//lib/libqt-mt.so, not found
 Undefined first referenced
  symbol   in file
 glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
 glReadPixels/usr/site/qt//lib/libqt-mt.so

This is your problem.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
  ld: warning: file libGL.so.1: required by 
  /usr/site/qt//lib/libqt-mt.so, not found
  Undefined   first referenced
   symbol in file
  glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
  glReadPixels/usr/site/qt//lib/libqt-mt.so

 This is your problem.

What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 02:28:12PM -0600, Bo Peng wrote:

  This is your problem.
 
 What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
 Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

No, it's the opengl (3D rendering) libraries. If you don't have it, then
you must compile a Qt version that doesn't include the support.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Les Denham
On Thursday 20 March 2003 1428 pm, you wrote:
   ld: warning: file libGL.so.1: required by
   /usr/site/qt//lib/libqt-mt.so, not found
   Undefined   first referenced
symbol in file
   glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
   glReadPixels/usr/site/qt//lib/libqt-mt.so
 
  This is your problem.

 What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on
 Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

I believe this is part of the SUNWglrt package, and will be located in 
/usr/openwin/lib if you have the package loaded.


-- 
L. R. Denham
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
 No, it's the opengl (3D rendering) libraries. If you don't have it, 
 then you must compile a Qt version that doesn't include the support.

I found the lib and use --with-extra-lib to refer to it. I can 
then configure and make. However, make stops with error message:  can 
not find ... lib. It works again after I set
setenv LD_LIBRARY_PATH 'every lib pathes'

It is still compiling now. I am not sure I am the only one to have this 
LD_LIBRARY_PATH problem.


-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 12:25:37PM -0600, Bo Peng wrote:

 configure: error: Cannot compile a simple Qt executable. Check you have the right 
 $QTDIR !

We need to see config.log

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
  configure: error: Cannot compile a simple Qt executable. Check you 
  have the right $QTDIR !

 We need to see config.log

It is attached.

-- 
Bo Peng
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lyx configure 1.3.1, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/home/helpdesk/trial/lyx-1.3 --with-frontend=qt 
--with-extra-prefix=/opt1/opt.CORE/xpm-3.4k/sunos5 --with-qt-dir=/usr/site/qt 
--with-version-suffix

## - ##
## Platform. ##
## - ##

hostname = stat007.stat.rice.edu
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-16

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = stat007.stat.rice.edu
Release = 5.8
KernelID = Generic_108528-16
Machine = sun4u
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch  = sun4
/usr/bin/arch -k   = sun4u
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/site/latex2html/bin
PATH: .
PATH: /home/helpdesk/bin
PATH: /home/helpdesk/newbin
PATH: /home/helpdesk/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /usr/local/bin
PATH: /usr/site/ssh-2.4.0/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/SUNWspro/bin
PATH: /usr/openwin/bin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/site/teTeX/bin
PATH: /usr/site/mozilla/bin
PATH: /usr/dt/bin
PATH: /opt/gnome-1.4/bin


## --- ##
## Core tests. ##
## --- ##

configure:1486: checking build system type
configure:1504: result: sparc-sun-solaris2.8
configure:1512: checking host system type
configure:1526: result: sparc-sun-solaris2.8
configure:1534: checking target system type
configure:1548: result: sparc-sun-solaris2.8
configure:1564: checking for install target ... 
configure:1580: result: lyx-1.3.1
configure:1597: checking for a BSD-compatible install
configure:1651: result: config/install-sh -c
configure:1662: checking whether build environment is sane
configure:1705: result: yes
configure:1738: checking for gawk
configure:1767: result: no
configure:1738: checking for mawk
configure:1767: result: no
configure:1738: checking for nawk
configure:1754: found /bin/nawk
configure:1764: result: nawk
configure:1774: checking whether make sets ${MAKE}
configure:1794: result: yes
configure:1954: checking whether make sets ${MAKE}
configure:1974: result: yes
configure:1995: checking for a BSD-compatible install
configure:2049: result: config/install-sh -c
configure:2063: checking for kpsewhich
configure:2079: found /usr/local/bin/kpsewhich
configure:2090: result: kpsewhich
configure:2108: checking for gm4
configure:2137: result: no
configure:2108: checking for gnum4
configure:2137: result: no
configure:2108: checking for m4
configure:2124: found /usr/ccs/bin/m4
configure:2134: result: m4
configure:2199: checking for gcc
configure:2215: found /usr/local/bin/gcc
configure:2225: result: gcc
configure:2469: checking for C compiler version
configure:2472: gcc --version /dev/null 5
gcc (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2475: $? = 0
configure:2477: gcc -v /dev/null 5
Reading specs from /usr/site/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: /build/gcc-3.2.1/src/dist/configure --prefix=/usr/site/gcc-3.2.1 
--enable-shared=libstdc++
Thread model: posix
gcc version 3.2.1
configure:2480: $? = 0
configure:2482: gcc -V /dev/null 5
gcc: argument to `-V' is missing
configure:2485: $? = 1
configure:2511: checking for C compiler default output
configure:2514: gccconftest.c  5
configure:2517: $? = 0
configure:2550: result: a.out
configure:2555: checking whether the C compiler works
configure:2561: ./a.out
configure:2564: $? = 0
configure:2579: result: yes
configure:2586: checking whether we are cross compiling
configure:2588: result: no
configure:2591: checking for suffix of executables
configure:2593: gcc -o conftestconftest.c  5
configure:2596: $? = 0
configure:2618: result: 
configure:2624: checking for suffix of object files
configure:2648: gcc -c   conftest.c 5
configure:2651: $? = 0
configure:2670: result: o
configure:2674: checking whether we are using the GNU C compiler
configure:2701: gcc -c   conftest.c 5
configure:2704: $? = 0
configure:2707: test -s conftest.o
configure:2710: $? = 0
configure:2722: result: yes
configure:2728: checking whether gcc accepts -g
configure:2752: gcc -c -g  conftest.c 5
configure:2755: $? = 0
configure:2758: test -s conftest.o
configure:2761: $? = 0
configure:2771: result: yes
configure:2798: gcc -c -g -O2  conftest.c 5
conftest.c:2: 

Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 01:41:03PM -0600, Bo Peng wrote:

 configure:11820: g++ -o conftest -O -fno-exceptions -I/usr/site/qt//include 
 -L/usr/site/qt//lib  -I/opt1/opt.CORE/xpm-3.4k/sunos5/include  -isystem 
 /usr/openwin/include  -L/opt1/opt.CORE/xpm-3.4k/sunos5/lib 
 -Wl,-R/opt1/opt.CORE/xpm-3.4k/sunos5/lib conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket  -lnsl -lqt-mt 5
 ld: warning: file libGL.so.1: required by /usr/site/qt//lib/libqt-mt.so, not found
 Undefined first referenced
  symbol   in file
 glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
 glReadPixels/usr/site/qt//lib/libqt-mt.so

This is your problem.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
  ld: warning: file libGL.so.1: required by 
  /usr/site/qt//lib/libqt-mt.so, not found
  Undefined   first referenced
   symbol in file
  glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
  glReadPixels/usr/site/qt//lib/libqt-mt.so

 This is your problem.

What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 02:28:12PM -0600, Bo Peng wrote:

  This is your problem.
 
 What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
 Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

No, it's the opengl (3D rendering) libraries. If you don't have it, then
you must compile a Qt version that doesn't include the support.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Les Denham
On Thursday 20 March 2003 1428 pm, you wrote:
   ld: warning: file libGL.so.1: required by
   /usr/site/qt//lib/libqt-mt.so, not found
   Undefined   first referenced
symbol in file
   glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
   glReadPixels/usr/site/qt//lib/libqt-mt.so
 
  This is your problem.

 What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on
 Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

I believe this is part of the SUNWglrt package, and will be located in 
/usr/openwin/lib if you have the package loaded.


-- 
L. R. Denham
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
 No, it's the opengl (3D rendering) libraries. If you don't have it, 
 then you must compile a Qt version that doesn't include the support.

I found the lib and use --with-extra-lib to refer to it. I can 
then configure and make. However, make stops with error message:  can 
not find ... lib. It works again after I set
setenv LD_LIBRARY_PATH 'every lib pathes'

It is still compiling now. I am not sure I am the only one to have this 
LD_LIBRARY_PATH problem.


-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 12:25:37PM -0600, Bo Peng wrote:

> configure: error: Cannot compile a simple Qt executable. Check you have the right 
> $QTDIR !

We need to see config.log

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
> > configure: error: Cannot compile a simple Qt executable. Check you 
> > have the right $QTDIR !

> We need to see config.log

It is attached.

-- 
Bo Peng
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by lyx configure 1.3.1, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/home/helpdesk/trial/lyx-1.3 --with-frontend=qt 
--with-extra-prefix=/opt1/opt.CORE/xpm-3.4k/sunos5 --with-qt-dir=/usr/site/qt 
--with-version-suffix

## - ##
## Platform. ##
## - ##

hostname = stat007.stat.rice.edu
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-16

/usr/bin/uname -p = sparc
/bin/uname -X = System = SunOS
Node = stat007.stat.rice.edu
Release = 5.8
KernelID = Generic_108528-16
Machine = sun4u
BusType = 
Serial = 
Users = 
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch  = sun4
/usr/bin/arch -k   = sun4u
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/site/latex2html/bin
PATH: .
PATH: /home/helpdesk/bin
PATH: /home/helpdesk/newbin
PATH: /home/helpdesk/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/ucb
PATH: /usr/bin/X11
PATH: /usr/local/bin
PATH: /usr/site/ssh-2.4.0/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /opt/SUNWspro/bin
PATH: /usr/openwin/bin
PATH: /usr/ccs/bin
PATH: /usr/ucb
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/site/teTeX/bin
PATH: /usr/site/mozilla/bin
PATH: /usr/dt/bin
PATH: /opt/gnome-1.4/bin


## --- ##
## Core tests. ##
## --- ##

configure:1486: checking build system type
configure:1504: result: sparc-sun-solaris2.8
configure:1512: checking host system type
configure:1526: result: sparc-sun-solaris2.8
configure:1534: checking target system type
configure:1548: result: sparc-sun-solaris2.8
configure:1564: checking for install target ... 
configure:1580: result: lyx-1.3.1
configure:1597: checking for a BSD-compatible install
configure:1651: result: config/install-sh -c
configure:1662: checking whether build environment is sane
configure:1705: result: yes
configure:1738: checking for gawk
configure:1767: result: no
configure:1738: checking for mawk
configure:1767: result: no
configure:1738: checking for nawk
configure:1754: found /bin/nawk
configure:1764: result: nawk
configure:1774: checking whether make sets ${MAKE}
configure:1794: result: yes
configure:1954: checking whether make sets ${MAKE}
configure:1974: result: yes
configure:1995: checking for a BSD-compatible install
configure:2049: result: config/install-sh -c
configure:2063: checking for kpsewhich
configure:2079: found /usr/local/bin/kpsewhich
configure:2090: result: kpsewhich
configure:2108: checking for gm4
configure:2137: result: no
configure:2108: checking for gnum4
configure:2137: result: no
configure:2108: checking for m4
configure:2124: found /usr/ccs/bin/m4
configure:2134: result: m4
configure:2199: checking for gcc
configure:2215: found /usr/local/bin/gcc
configure:2225: result: gcc
configure:2469: checking for C compiler version
configure:2472: gcc --version &5
gcc (GCC) 3.2.1
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2475: $? = 0
configure:2477: gcc -v &5
Reading specs from /usr/site/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.8/3.2.1/specs
Configured with: /build/gcc-3.2.1/src/dist/configure --prefix=/usr/site/gcc-3.2.1 
--enable-shared=libstdc++
Thread model: posix
gcc version 3.2.1
configure:2480: $? = 0
configure:2482: gcc -V &5
gcc: argument to `-V' is missing
configure:2485: $? = 1
configure:2511: checking for C compiler default output
configure:2514: gccconftest.c  >&5
configure:2517: $? = 0
configure:2550: result: a.out
configure:2555: checking whether the C compiler works
configure:2561: ./a.out
configure:2564: $? = 0
configure:2579: result: yes
configure:2586: checking whether we are cross compiling
configure:2588: result: no
configure:2591: checking for suffix of executables
configure:2593: gcc -o conftestconftest.c  >&5
configure:2596: $? = 0
configure:2618: result: 
configure:2624: checking for suffix of object files
configure:2648: gcc -c   conftest.c >&5
configure:2651: $? = 0
configure:2670: result: o
configure:2674: checking whether we are using the GNU C compiler
configure:2701: gcc -c   conftest.c >&5
configure:2704: $? = 0
configure:2707: test -s conftest.o
configure:2710: $? = 0
configure:2722: result: yes
configure:2728: checking whether gcc accepts -g
configure:2752: gcc -c -g  conftest.c >&5
configure:2755: $? = 0
configure:2758: test -s conftest.o
configure:2761: $? = 0
configure:2771: result: yes
configure:2798: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"

Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 01:41:03PM -0600, Bo Peng wrote:

> configure:11820: g++ -o conftest -O -fno-exceptions -I/usr/site/qt//include 
> -L/usr/site/qt//lib  -I/opt1/opt.CORE/xpm-3.4k/sunos5/include  -isystem 
> /usr/openwin/include  -L/opt1/opt.CORE/xpm-3.4k/sunos5/lib 
> -Wl,-R/opt1/opt.CORE/xpm-3.4k/sunos5/lib conftest.cc  -lSM -lICE -lc -lm   
> -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lsocket  -lnsl -lqt-mt >&5
> ld: warning: file libGL.so.1: required by /usr/site/qt//lib/libqt-mt.so, not found
> Undefined first referenced
>  symbol   in file
> glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
> glReadPixels/usr/site/qt//lib/libqt-mt.so

This is your problem.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
> > ld: warning: file libGL.so.1: required by 
> > /usr/site/qt//lib/libqt-mt.so, not found
> > Undefined   first referenced
> >  symbol in file
> > glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
> > glReadPixels/usr/site/qt//lib/libqt-mt.so

> This is your problem.

What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

-- 
Bo Peng


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 02:28:12PM -0600, Bo Peng wrote:

> > This is your problem.
> 
> What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on 
> Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

No, it's the opengl (3D rendering) libraries. If you don't have it, then
you must compile a Qt version that doesn't include the support.

john


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Les Denham
On Thursday 20 March 2003 1428 pm, you wrote:
> > > ld: warning: file libGL.so.1: required by
> > > /usr/site/qt//lib/libqt-mt.so, not found
> > > Undefined   first referenced
> > >  symbol in file
> > > glXQueryExtension   /usr/site/qt//lib/libqt-mt.so
> > > glReadPixels/usr/site/qt//lib/libqt-mt.so
> >
> > This is your problem.
>
> What is this libGL.so? On my linux box, it is in /usr/X11/lib, but on
> Solaris, there is no such thing under /usr/X/lib. Does it come with qt?

I believe this is part of the SUNWglrt package, and will be located in 
/usr/openwin/lib if you have the package loaded.


-- 
L. R. Denham
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


Re: Compiling LyX 1.3.1 on Solaris 2.8

2003-03-20 Thread Bo Peng
> No, it's the opengl (3D rendering) libraries. If you don't have it, 
> then you must compile a Qt version that doesn't include the support.

I found the lib and use --with-extra-lib to refer to it. I can 
then configure and make. However, make stops with error message:  can 
not find ... lib. It works again after I set
setenv LD_LIBRARY_PATH 'every lib pathes'

It is still compiling now. I am not sure I am the only one to have this 
LD_LIBRARY_PATH problem.


-- 
Bo Peng