Re: Qt 3 compile failed!
Bugger. Ignore my stupiditiy them :) Rod > > Note that, when 1.3.0 will come out, it will be distributed with > already generated autoconf and automake stuff. Users do not need to > have either installed to proceed. The problem is only for people who > compile from cvs. > > JMarc > _ rod | "Beneath the waves, the waves / That's where I will be / | I'm going to see the cow beneath the sea." | They Might Be Giants, Lincoln
Re: [Patch] Re: Qt 3 compile failed!
On Wed, Oct 30, 2002 at 02:45:23PM +0900, Rob Lahaye wrote: > I bet you're in trouble 'cause your 2.54 != 2.53. > 2.52 or 2.53 should do, though. > Don't know about automake 1.7; I'm not at all an autotool guru! > --- I adjusted my automake and autoconf to the exact versions as suggested (autoconf 2.13 automake 1.5) and now lyx 1.3cvs is working. Through my first testrun, I think the qt frontend is much better than xform. The menu is much better, the math box is prettier. BTW, I voted for the 'release 1.3 until qt is done'. -- Bo Peng
Re: Qt 3 compile failed!
On Tue, Oct 29, 2002 at 11:23:27PM -0600, Bo Peng wrote: > make[6]: Entering directory `/home/bpeng/lyx-devel/src/frontends/qt2/ui' > make[6]: *** No rule to make target `libqt2ui.la.c', needed by `libqt2ui.la'. Stop. > make[6]: Leaving directory `/home/bpeng/lyx-devel/src/frontends/qt2/ui' you probably need a completely new tree john -- ""All the people we like are We, and everyone else is They." - Kipling
Re: Qt 3 compile failed!
>> >> > > > automake 1.4-p4, and autoconf >> >> > > that's your problem >> >> > I have the same problem. I am using the automake 1.4-p4 comes with >> > Redhat 7.3. > > I think the current cvs version is very sensitive to the version of > automake.. I had 1.4 too so I got rid of it (on my Mandrake machine) > and then downloaded and compiled automake version 1.5 as John > suggested. And that error that I got went away alright and after > another hour or so of compiling I got the following error: > > Dialogs2.C:135: no `void Dialogs::showListing(InsetCommand*)' member > function declared in class `Dialogs' > Dialogs2.C: In member function `void > Dialogs::showListing(InsetCommand*)': > Dialogs2.C:136: `struct Dialogs::Impl' has no member named `listing' > Dialogs2.C: At global scope: > Dialogs2.C:141: no `void Dialogs::createListing(const std::string&)' > member function declared in class `Dialogs' > Dialogs2.C: In member function `void Dialogs::createListing(const > std::string&)': > Dialogs2.C:142: `struct Dialogs::Impl' has no member named `listing' > make[5]: *** [Dialogs2.lo] Error 1 > make[5]: Leaving directory `/opt/lyx-qt/lyx-devel/src/frontends/qt2' > > Is this a problem in the code or with some dependency or version or so? I think this is unrelated. SImply try to remove the offending code. Andre'
Re: Qt 3 compile failed!
Rod Pinna <[EMAIL PROTECTED]> writes: | Cheers. I believe Debian is a reasonably well used distribution, so I | contributed that comment more as a point of possible information for you, | than a suggestion you need to do anything about it. I'm not a programmer; | I know it's my problem, not yours. | | Take it in the spirit perhaps of, "you may have alot of people whining | about this when 1.3.0 comes out". Why? This problem only exist if you compile form CVS. If compiled from a distribution the configure script is already generated and autoconf, automake is not run. -- Lgb
Re: Qt 3 compile failed!
> "Rod" == Rod Pinna <[EMAIL PROTECTED]> writes: Rod> Cheers. I believe Debian is a reasonably well used distribution, Rod> so I contributed that comment more as a point of possible Rod> information for you, than a suggestion you need to do anything Rod> about it. I'm not a programmer; I know it's my problem, not Rod> yours. Rod> Take it in the spirit perhaps of, "you may have alot of people Rod> whining about this when 1.3.0 comes out". Note that, when 1.3.0 will come out, it will be distributed with already generated autoconf and automake stuff. Users do not need to have either installed to proceed. The problem is only for people who compile from cvs. JMarc
Re: Qt 3 compile failed!
Hi all, For further reference, 130cvs compiles under debian 3.0, when automake is upgraded to 1.5, using the standard automake1.5 deb. Rod _ rod | "Beneath the waves, the waves / That's where I will be / | I'm going to see the cow beneath the sea." | They Might Be Giants, Lincoln
Re: Qt 3 compile failed!
> > For anyone else who may care, there is also a seperate automake1.5 > > package in debian 3.0. > > Whoever packages debs should use that then probably... > > john > I'm not sure that would be a good/robust solution though.. it looks like it doesn't work with anything other than 1.5 (going by Bo's mail that 1.7 didn't work).. isn't there a way to not make it so specific to 1.5 and at least have it compatible with versions >= 1.5? Would this entail a lot of work? Thanks, nirmal
[Patch] Re: Qt 3 compile failed!
Bo Peng wrote: I upgrade automake and autoconf but the problem remains. bpeng@bp6:~ % automake --version automake (GNU automake) 1.7 bpeng@bp6:~ % autoconf --version autoconf (GNU Autoconf) 2.54 bpeng@bp6:~/lyx-devel % ./autogen.sh Using autoconf (GNU Autoconf) 2.54 This autoconf version is not supported by LyX. LyX only supports autoconf 2.13 and 2.53. I bet you're in trouble 'cause your 2.54 != 2.53. 2.52 or 2.53 should do, though. Don't know about automake 1.7; I'm not at all an autotool guru! --- The error message by autogen.sh is not correct and could be confusing. The weeny patch below fixes that: RCS file: /cvs/lyx/lyx-devel/autogen.sh,v retrieving revision 1.38 diff -u -r1.38 autogen.sh --- autogen.sh 2002/10/15 08:10:57 1.38 +++ autogen.sh 2002/10/30 05:36:32 @@ -26,7 +26,7 @@ ;; *) echo "This autoconf version is not supported by LyX." - echo "LyX only supports autoconf 2.13 and 2.53." + echo "LyX only supports autoconf 2.13, 2.52 and 2.53." exit ;; esac Regards, Rob.
Re: Qt 3 compile failed!
> > > > > automake 1.4-p4, and autoconf > > > > that's your problem > > > I have the same problem. I am using the automake 1.4-p4 comes with > > Redhat 7.3. I think the current cvs version is very sensitive to the version of automake.. I had 1.4 too so I got rid of it (on my Mandrake machine) and then downloaded and compiled automake version 1.5 as John suggested. And that error that I got went away alright and after another hour or so of compiling I got the following error: Dialogs2.C:135: no `void Dialogs::showListing(InsetCommand*)' member function declared in class `Dialogs' Dialogs2.C: In member function `void Dialogs::showListing(InsetCommand*)': Dialogs2.C:136: `struct Dialogs::Impl' has no member named `listing' Dialogs2.C: At global scope: Dialogs2.C:141: no `void Dialogs::createListing(const std::string&)' member function declared in class `Dialogs' Dialogs2.C: In member function `void Dialogs::createListing(const std::string&)': Dialogs2.C:142: `struct Dialogs::Impl' has no member named `listing' make[5]: *** [Dialogs2.lo] Error 1 make[5]: Leaving directory `/opt/lyx-qt/lyx-devel/src/frontends/qt2' Is this a problem in the code or with some dependency or version or so? Thanks, nirmal
Re: Qt 3 compile failed!
On Tue, Oct 29, 2002 at 10:39:47PM -0600, Bo Peng wrote: > On Wed, Oct 30, 2002 at 03:31:43AM +, John Levon wrote: > > On Wed, Oct 30, 2002 at 11:27:16AM +0800, Rod Pinna wrote: > > > automake 1.4-p4, and autoconf > >^^ > > that's your problem > I have the same problem. I am using the automake 1.4-p4 comes with > Redhat 7.3. I upgrade automake and autoconf but the problem remains. bpeng@bp6:~ % automake --version automake (GNU automake) 1.7 bpeng@bp6:~ % autoconf --version autoconf (GNU Autoconf) 2.54 make[6]: Entering directory `/home/bpeng/lyx-devel/src/frontends/qt2/ui' make[6]: *** No rule to make target `libqt2ui.la.c', needed by `libqt2ui.la'. Stop. make[6]: Leaving directory `/home/bpeng/lyx-devel/src/frontends/qt2/ui' I am using the latest cvs lyx. The configure command is /configure --with-frontend=qt --prefix=/home/bpeng/cvslyx since I do not want to replace my lyx1.2.1. Configuration result is: Configuration Host type: i686-pc-linux-gnu Special build flags:warnings assertions C Compiler: gcc C Compiler flags: -g -O2 C++ Compiler: g++ (2.96) C++ Compiler flags: -g -O -fno-exceptions -ftemplate-depth-30 -Wno-non-template-friend -W -Wall Linker flags: Frontend: qt Qt version: 3.0.3 LyX binary dir: /home/bpeng/cvslyx/bin LyX files dir: /home/bpeng/cvslyx/share/lyx Configuration of LyX was successful. My system is Redhat linux 7.3. I doubt if I need to run autogen.sh again so I 'make clean' and run autogen.sh, I get the following error: bpeng@bp6:~/lyx-devel % ./autogen.sh Using autoconf (GNU Autoconf) 2.54 This autoconf version is not supported by LyX. LyX only supports autoconf 2.13 and 2.53. -- Bo Peng
Re: Qt 3 compile failed!
On Wed, Oct 30, 2002 at 03:31:43AM +, John Levon wrote: > On Wed, Oct 30, 2002 at 11:27:16AM +0800, Rod Pinna wrote: > > automake 1.4-p4, and autoconf >^^ > that's your problem I have the same problem. I am using the automake 1.4-p4 comes with Redhat 7.3. -- Bo Peng
Re: Qt 3 compile failed!
On Wed, Oct 30, 2002 at 11:41:02AM +0800, Rod Pinna wrote: > Take it in the spirit perhaps of, "you may have alot of people whining > about this when 1.3.0 comes out". I have no idea how to fix it alas > For anyone else who may care, there is also a seperate automake1.5 package > in debian 3.0. Whoever packages debs should use that then probably... john
Re: Qt 3 compile failed!
Cheers. I believe Debian is a reasonably well used distribution, so I contributed that comment more as a point of possible information for you, than a suggestion you need to do anything about it. I'm not a programmer; I know it's my problem, not yours. Take it in the spirit perhaps of, "you may have alot of people whining about this when 1.3.0 comes out". For anyone else who may care, there is also a seperate automake1.5 package in debian 3.0. Rod On Wed, 30 Oct 2002, John Levon wrote: > On Wed, Oct 30, 2002 at 11:27:16AM +0800, Rod Pinna wrote: > > > automake 1.4-p4, and autoconf > >^^ > > that's your problem > > john > > -- > ""All the people we like are We, and everyone else is They." > - Kipling > _ rod | "Beneath the waves, the waves / That's where I will be / | I'm going to see the cow beneath the sea." | They Might Be Giants, Lincoln
Re: Qt 3 compile failed!
On Wed, Oct 30, 2002 at 11:27:16AM +0800, Rod Pinna wrote: > automake 1.4-p4, and autoconf ^^ that's your problem john -- ""All the people we like are We, and everyone else is They." - Kipling
Re: Qt 3 compile failed!
> > make[6]: Entering directory `/opt/lyx-qt/lyx-devel/src/frontends/qt2/ui' > > make[6]: *** No rule to make target `libqt2ui.la.c', needed by > > `libqt2ui.la'. Stop. > > > > I'm using KDE3 and Qt3... do I HAVE to get the Qt2 library above? > > No. You're using the wrong automake/autoconf. I use automake 1.5 and > autoconf 2.13 I get this on debian 3.0 as well. I have automake 1.4-p4, and autoconf 2.13. Rod _ rod | "Beneath the waves, the waves / That's where I will be / | I'm going to see the cow beneath the sea." | They Might Be Giants, Lincoln
Re: Qt 3 compile failed!
On Tue, Oct 29, 2002 at 05:33:22PM -0500, Nirmal Govind wrote: > make[6]: Entering directory `/opt/lyx-qt/lyx-devel/src/frontends/qt2/ui' > make[6]: *** No rule to make target `libqt2ui.la.c', needed by > `libqt2ui.la'. Stop. > > I'm using KDE3 and Qt3... do I HAVE to get the Qt2 library above? No. You're using the wrong automake/autoconf. I use automake 1.5 and autoconf 2.13 john -- ""All the people we like are We, and everyone else is They." - Kipling