Re: no GUI error when configure fails on first configure

2012-07-05 Thread Richard Heck
On 07/04/2012 02:29 AM, Scott Kostyshak wrote: *From:* Richard Heck [rgh...@comcast.net] *Sent:* Monday, May 21, 2012 10:20 AM >OK, I see the problem. Richard, are you able to add this to your todo list? Should I open a trac ticket? Sure, thanks. rh

RE: no GUI error when configure fails on first configure

2012-07-03 Thread Scott Kostyshak
From: Richard Heck [rgh...@comcast.net] Sent: Monday, May 21, 2012 10:20 AM >OK, I see the problem. Richard, are you able to add this to your todo list? Should I open a trac ticket? Thanks, Scott

RE: no GUI error when configure fails on first configure

2012-05-21 Thread Scott Kostyshak
From: Richard Heck [rgh...@comcast.net] Sent: Monday, May 21, 2012 10:20 AM >That said, the error message is wrong. If there were no text classes, then we >would have told the user this at >the beginning of LyX:execCommands(). I guess >the question, then, is: If initial configuration failed, wha

Re: no GUI error when configure fails on first configure

2012-05-21 Thread Richard Heck
>else >LYXERR0(...); >at the relevant point. If not, then we need more complex return values from init(). The attached patch issues a GUI message if configure fails. I wasn't sure about where to put the code. It is unfortunately spread out because I couldn't issue

RE: no GUI error when configure fails on first configure

2012-05-20 Thread Scott Kostyshak
elevant point. If not, then we need more complex return values from >init(). The attached patch issues a GUI message if configure fails. I wasn't sure about where to put the code. It is unfortunately spread out because I couldn't issue a GUI message at the time of checking if co

Re: no GUI error when configure fails on first configure

2012-05-20 Thread Richard Heck
On 05/19/2012 10:54 PM, Scott Kostyshak wrote: When you reconfigure by going to Tools > Reconfigure, if the python script returns a non-zero exit status, a useful GUI error is displayed. However, when configure is run from LyX.cpp on the first run, you can only see if there is an error in the t

configure fails for putenv and setenv

2007-12-06 Thread reed
Building lyx-1.5.2 fails with: environment.cpp:82:2: error: #error No environment-setting function has been defined. This is because the configure originally failed detecting both setenv and putenv. configure:29975: checking for putenv configure:30031: cc -o conftest -O2 -I/usr/pkg/include/p

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-12-01 Thread Georg Baum
Jean-Pierre Chrétien wrote: > As the test in docstring.h is: > #if SIZEOF_WCHAR_T != 4 && defined(__GNUC__) && defined(__GNUC_MINOR__) && > __GNUC__ == 3 && __GNUC_MINOR__ < 4 > > the char_traits are not created if SIZEOF_WCHAR_T == 4, which is the case. > It seems that there should be an || oper

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-30 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chrétien wrote: > > > Sorry, I should have added the following lines: > > > > Undefined first referenced > > symbol in file > > std::char_traits::not_eof(unsigned long const&)Chktex.o > > What

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-29 Thread Jean-Pierre Chrétien
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > On Mon, Nov 27, 2006 at 09:03:00PM +0100, Jean-Marc Lasgouttes wrote: > > > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > > Enrico> I think you have an old version of Solaris. Solaris 10 comes > > Enrico> with gcc 3.4.3 a

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Enrico Forestieri
On Mon, Nov 27, 2006 at 09:03:00PM +0100, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> I think you have an old version of Solaris. Solaris 10 comes > Enrico> with gcc 3.4.3 and libstdc++ 6.0.3 bundled. So, maybe you can > Enrico> simply

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Georg Baum
Am Montag, 27. November 2006 10:37 schrieb Jean-Pierre Chrétien: > Local configuration problem ? No. It seems to be a known bug that was fixed in gcc 3.4 (and reappeared in 4.1.0 and was fixed in 4.1.1 again): http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6702 > I have libstdc++.so in /usr/local/

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> I think you have an old version of Solaris. Solaris 10 comes Enrico> with gcc 3.4.3 and libstdc++ 6.0.3 bundled. So, maybe you can Enrico> simply upgrade the OS (which is now in the open source realm). I do not think that typ

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Enrico Forestieri
On Mon, Nov 27, 2006 at 09:37:20AM +, Jean-Pierre Chrétien wrote: > Georg Baum <[EMAIL PROTECTED]> writes: > > > > > Jean-Pierre Chrétien wrote: > > > > > Sorry, I should have added the following lines: > > > > > > Undefined first referenced > > > symbol

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Jean-Pierre Chrétien
Georg Baum <[EMAIL PROTECTED]> writes: > > Jean-Pierre Chrétien wrote: > > > Sorry, I should have added the following lines: > > > > Undefined first referenced > > symbol in file > > std::char_traits::not_eof(unsigned long const&)Chktex.o > > What

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Georg Baum
Jean-Pierre Chrétien wrote: > Sorry, I should have added the following lines: > > Undefined first referenced > symbol in file > std::char_traits::not_eof(unsigned long const&)Chktex.o What is your gcc version? What is the size of wchar_t? It should

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-27 Thread Jean-Pierre Chrétien
Enrico Forestieri <[EMAIL PROTECTED]> writes: > > On Fri, Nov 24, 2006 at 01:16:53PM +, Jean-Pierre Chrétien wrote: > > > Configure runs OK, but now lyx fails at the very end of compilation with: > > ld: warning: file /usr/local/lib/libiconv.so: attempted multiple > > inclusion of file > > l

Re: configure fails on Solaris for lyx-1.5.0alpha1

2006-11-24 Thread Enrico Forestieri
On Fri, Nov 24, 2006 at 01:16:53PM +, Jean-Pierre Chrétien wrote: > Configure runs OK, but now lyx fails at the very end of compilation with: > ld: warning: file /usr/local/lib/libiconv.so: attempted multiple > inclusion of file > ld: warning: file /usr/local/lib/libstdc++.so: linked to > /usr

configure fails on Solaris for lyx-1.5.0alpha1

2006-11-24 Thread Jean-Pierre Chrétien
Hello, In a tcsh shell, with setenv QT4DIR /usr/local/qt-4.1.4 ./configure --with-frontend=qt4 --with-version-suffix=1.5.0alpha1 I get the message checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t), 77 See `config.log' for more details. The log says: configure:6941:

Re: Lyx-trunk configure fails

2006-03-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sat, Mar 11, 2006 at 04:32:09PM +0100, Lars Gullik Bjønnes wrote: | > Andre Poenitz <[EMAIL PROTECTED]> writes: | > | > | On Wed, Mar 08, 2006 at 10:30:02PM +0100, Jean-Marc Lasgouttes wrote: | > | > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]>

Re: Lyx-trunk configure fails

2006-03-15 Thread Andre Poenitz
On Sat, Mar 11, 2006 at 04:32:09PM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Wed, Mar 08, 2006 at 10:30:02PM +0100, Jean-Marc Lasgouttes wrote: > | > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > | > > | > Andre> However, if the idea is

Re: Lyx-trunk configure fails

2006-03-11 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Mar 08, 2006 at 10:30:02PM +0100, Jean-Marc Lasgouttes wrote: | > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: | > | > Andre> However, if the idea is to enforce LF in this file the | > Andre> canonical solution is a pre-commit hook

Re: Lyx-trunk configure fails

2006-03-10 Thread Andre Poenitz
On Wed, Mar 08, 2006 at 10:30:02PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> However, if the idea is to enforce LF in this file the > Andre> canonical solution is a pre-commit hook script that rejects > Andre> commits containing the

Re: Lyx-trunk configure fails

2006-03-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> However, if the idea is to enforce LF in this file the Andre> canonical solution is a pre-commit hook script that rejects Andre> commits containing the 'wrong' line endings. No, the problem is that line ending must remain LF when c

Re: Lyx-trunk configure fails

2006-03-08 Thread Andre Poenitz
On Mon, Mar 06, 2006 at 04:51:03PM +, Angus Leeming wrote: > >So this is a file where we should set svn:eol-style LF? > > I believe so. However, when I mentioned this self-same issue a little while > ago, André came up with some reasoning why doing so was a bad idea. > Something to do with p

Re: Lyx-trunk configure fails

2006-03-08 Thread Andre Poenitz
On Mon, Mar 06, 2006 at 06:00:53PM +0100, Lars Gullik Bjønnes wrote: > | I believe so. However, when I mentioned this self-same issue a little > | while ago, André came up with some reasoning why doing so was a bad > | idea. Something to do with performance... Clearly, I'm no svn expert > | (:)) so

Re: Lyx-trunk configure fails

2006-03-06 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | > So this is a file where we should set svn:eol-style LF? | I believe so. However, when I mentioned this self-same issue a little | while ago, André came up with some reasoning why doing so was a bad | idea. Something to do with performance... Clearly, I'm no svn e

Re: Lyx-trunk configure fails

2006-03-06 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> So this is a file where we should set svn:eol-style LF? Yes, I think so. JMarc

Re: Lyx-trunk configure fails

2006-03-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > Angus Leeming writes: | > | Abdelrazak Younes wrote: | > | > Any time I try to configure, it fails with this: | > | | > checking types of arguments for select... int,int *,struct | > timeval * | > | > ./configure: line 3527

Re: Lyx-trunk configure fails

2006-03-06 Thread Angus Leeming
Lars Gullik Bjønnes wrote: Angus Leeming writes: | Abdelrazak Younes wrote: | > Any time I try to configure, it fails with this: | | > checking types of arguments for select... int,int *,struct timeval * | > ./configure: line 35276: syntax error near unexpected token `"s/^\\([' | > ./configure:

Re: Lyx-trunk configure fails

2006-03-06 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes a écrit : | > Angus Leeming <[EMAIL PROTECTED]> writes: | > | Abdelrazak Younes wrote: | > | > Any time I try to configure, it fails with this: | > | | > checking types of arguments for select... int,int *,struct | > timeval * | >

Re: Lyx-trunk configure fails

2006-03-06 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Angus Leeming <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Any time I try to configure, it fails with this: | | > checking types of arguments for select... int,int *,struct timeval * | > ./configure: line 35276: syntax error near unexpected token `"s

Re: Lyx-trunk configure fails

2006-03-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Abdelrazak Younes wrote: | > Any time I try to configure, it fails with this: | | > checking types of arguments for select... int,int *,struct timeval * | > ./configure: line 35276: syntax error near unexpected token `"s/^\\([' | > ./configure: line 352

Re: Lyx-trunk configure fails

2006-03-06 Thread Angus Leeming
Abdelrazak Younes wrote: Any time I try to configure, it fails with this: checking types of arguments for select... int,int *,struct timeval * ./configure: line 35276: syntax error near unexpected token `"s/^\\([' ./configure: line 35276: ` "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*

Lyx-trunk configure fails

2006-03-06 Thread Abdelrazak Younes
Hello, Any time I try to configure, it fails with this: checking types of arguments for select... int,int *,struct timeval * ./configure: line 35276: syntax error near unexpected token `"s/^\\([' ./configure: line 35276: ` "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"' I

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-23 Thread Abdel
Abdel a écrit : Paul A. Rubin a écrit : Abdel wrote: My sed version is the one with MSYS-1.0.11 (GNU sed 3.02). Please note that I am not using MSYS DTK, I have hand installed the needed software (autoconf, automake, libtool, etc). Sorry, late arrival to this thread, so I apologize if I'm r

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Abdel
Good morning Angus, Angus Leeming a écrit : Abdel wrote: For my defense I'd say that I have invested a lot of time already on that. I think I am close but it's really not fun. Courage! Why not skip the po directory for now and try $ cd src && make Yes that's what I did yesterday. But lyx

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Angus Leeming
Abdel wrote: > For my defense I'd say that I have invested a lot of time already on > that. I think I am close but it's really not fun. Courage! Why not skip the po directory for now and try $ cd src && make -- Angus

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Abdel
Paul A. Rubin a écrit : Abdel wrote: My sed version is the one with MSYS-1.0.11 (GNU sed 3.02). Please note that I am not using MSYS DTK, I have hand installed the needed software (autoconf, automake, libtool, etc). Sorry, late arrival to this thread, so I apologize if I'm repeating somethi

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Paul A. Rubin
Abdel wrote: My sed version is the one with MSYS-1.0.11 (GNU sed 3.02). Please note that I am not using MSYS DTK, I have hand installed the needed software (autoconf, automake, libtool, etc). Sorry, late arrival to this thread, so I apologize if I'm repeating something said elsewhere. The v

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Abdel
Angus Leeming a écrit : Abdel wrote: Angus Leeming a écrit : Abdel wrote: Hello Angus, sed: -e expression #2, char 2: Unterminated `s' command Try the attached dos2unix.sed script as $ sed -f dos2unix.sed configure.ac > tmp it does the same: sed: file dos2unix.sed line 1: Unterminated `s

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Angus Leeming
I understand why Michael insist on compiling static Qt. >>> >>> I had lots of trouble trying to compile aspell so I gave up. >> >> You can always go back to this later. >> >>> Now onto lyx... >>> The configure fails with: >>> >>> check

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Abdel
Michael Gerz a écrit : Abdel wrote: I completely agree and I first try the static version but all the demo and examples crashed, including the Qtdesigner. I'll try to find sometime to compile in debug mode and see what's happening. Ah. I forgot to mention: Ignore this! ok... Next time I'll

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Michael Gerz
Abdel wrote: I completely agree and I first try the static version but all the demo and examples crashed, including the Qtdesigner. I'll try to find sometime to compile in debug mode and see what's happening. Ah. I forgot to mention: Ignore this! There is a bug in qtwin/src/kernel/qapplicati

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Abdel
Michael Gerz a écrit : Abdel wrote: With the shared version all demos and examples compile and execute OK. Ouf... But the linkage only took an hour and sometimes more than 400 Megs! I understand why Michael insist on compiling static Qt. Well, I told you! (What is the shared version good for

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Michael Gerz
Abdel wrote: Sorry for all this. I'll maybe wait for a formal (beta) delivery of lyx 1.4 I don't see any reason why you shouldn't be able to create a working LyX 1.4 binary using MinGW. If there is anything wrong with my recipe, please let me know. Michael

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Abdel
aspell so I gave up. You can always go back to this later. Now onto lyx... The configure fails with: checking types of arguments for select... int,int *,struct timeval * Your configure.ac has DOS-style line endings. I believe that there's some magic in the build_lyxwin.sh script to clean

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-22 Thread Michael Gerz
Abdel wrote: With the shared version all demos and examples compile and execute OK. Ouf... But the linkage only took an hour and sometimes more than 400 Megs! I understand why Michael insist on compiling static Qt. Well, I told you! (What is the shared version good for, as long as LyX is the

Re: lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-21 Thread Angus Leeming
o compile aspell so I gave up. You can always go back to this later. > Now onto lyx... > The configure fails with: > > checking types of arguments for select... int,int *,struct timeval * Your configure.ac has DOS-style line endings. I believe that there's some magic in the b

lyx configure fails (was Re: qt3-win: cannot compile with mingw)

2005-12-21 Thread Abdel
so I gave up. Now onto lyx... I am using your build_lyxwin.sh adapted to my config. I also modified the configure call to: CONFIGURE="../configure --prefix='/d/program/lyx-140' --without-x --without-pspell --without-aspell --with-included-gettext --with-frontend=qt QTDIR='

Re: configure fails for cross compiler

2005-04-21 Thread Angus Leeming
Angus Leeming wrote: > Anyone got any idea about cross-compilation? > This error message is baffling me. I specify '--host', so why is it > trying to run the just built executable? Got it. ../configure --with-packaging=windows \ --build='i686-pc-linux-gnu' --host='i386-mingw32' Interesting pack

configure fails for cross compiler

2005-04-21 Thread Angus Leeming
Anyone got any idea about cross-compilation? This error message is baffling me. I specify '--host', so why is it trying to run the just built executable? ../configure --with-packaging=windows --with-included-gettext --with-frontend='qt' --with-qt-dir=/home/angus/mingw-xcompile/qt3 --build='i386-mi

Re: configure fails on redhat 8.0

2002-10-07 Thread Lars Gullik Bjønnes
Oliveira Matos <[EMAIL PROTECTED]> writes: >> >> >> >> | Hi, >> >> | configure fails with this message: >> >> >> >> and this is not rh-8.0 specific. >> > >> | How about this one, after running a plain >>

Re: configure fails on redhat 8.0

2002-10-04 Thread Mate Wierdl
On Thu, Oct 03, 2002 at 07:46:22PM +0200, Lars Gullik Bj?nnes wrote: > Mate Wierdl <[EMAIL PROTECTED]> writes: > > | On Thu, Oct 03, 2002 at 11:39:02AM +0200, Lars Gullik Bj?nnes wrote: > >> Jos? Ab?lio Oliveira Matos <[EMAIL PROTECTED]> writes: > >> >

Re: configure fails on redhat 8.0

2002-10-04 Thread Lars Gullik Bjønnes
Mate Wierdl <[EMAIL PROTECTED]> writes: | On Thu, Oct 03, 2002 at 11:39:02AM +0200, Lars Gullik Bj?nnes wrote: | > Jos? Ab?lio Oliveira Matos <[EMAIL PROTECTED]> writes: | > | > | Hi, | > | configure fails with this message: | > | > and this is not rh-8.0 spe

Re: configure fails on redhat 8.0

2002-10-03 Thread Lars Gullik Bjønnes
Mate Wierdl <[EMAIL PROTECTED]> writes: | On Thu, Oct 03, 2002 at 11:39:02AM +0200, Lars Gullik Bj?nnes wrote: >> Jos? Ab?lio Oliveira Matos <[EMAIL PROTECTED]> writes: >> >> | Hi, >> |configure fails with this message: >> >> and this is no

Re: configure fails on redhat 8.0

2002-10-03 Thread Mate Wierdl
On Thu, Oct 03, 2002 at 11:39:02AM +0200, Lars Gullik Bj?nnes wrote: > Jos? Ab?lio Oliveira Matos <[EMAIL PROTECTED]> writes: > > | Hi, > | configure fails with this message: > > and this is not rh-8.0 specific. How about this one, after running a plain ./config

Re: configure fails on redhat 8.0

2002-10-03 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | Hi, | configure fails with this message: and this is not rh-8.0 specific. -- Lgb

Re: configure fails on redhat 8.0

2002-10-03 Thread Lars Gullik Bjønnes
José Abílio Oliveira Matos <[EMAIL PROTECTED]> writes: | Hi, | configure fails with this message: | configure: error: conditional "USE_BASIC_IMAGE_LOADER" was never defined. | Usually this means the macro was only invoked conditionally. I know what causes this, and ha

configure fails on redhat 8.0

2002-10-03 Thread José Abílio Oliveira Matos
Hi, configure fails with this message: configure: error: conditional "USE_BASIC_IMAGE_LOADER" was never defined. Usually this means the macro was only invoked conditionally. I call it as: $./configure --with-version-suffix --disable-nls --with-frontend=qt This erro seems

Re: configure fails

2000-10-23 Thread Jean-Marc Lasgouttes
> "Johan" == Johan Kuipers <[EMAIL PROTECTED]> writes: Johan> Hi, I've got a problem with configure, it says: Did you use weird settings for configure? JMarc

configure fails

2000-10-22 Thread Johan Kuipers
Hi, I've got a problem with configure, it says: ... snip ... checking for strerror... yes checking for atexit... yes updating cache ./config.cache creating ./config.status creating Makefile sed: file conftest.s1 line 47: Unterminated `s' command creating development/lyx.spec sed: file conftest.

Latest CVS configure fails on Solaris 2.5.1

2000-06-17 Thread Kayvan Sylvan
Hi folks, It's Kayvan from a different account. On my Solaris 2.5.1 machine: configuring in sigc++ running /bin/sh ./configure --prefix=/remote/tools/ksylvan --with-extra-lib=/remote/tools/ksylvan/lib --with-extra-inc=/remote/tools/ksylvan/include --cache-file=.././config.cache --srcdir=. l