Re: Problem installing -1.3.3/Qt
Am 5. November 2003 10:13 schrieb Jean-Marc Lasgouttes I commited the following patch which hopefully solves the problem. JMarc Dear Jean-Marc, dear readers of this list, unfortunately this patch did not work for me. I had the same problem with lyx-1.3.3/Qt mentioned in the first posting of this thread when trying to build a package for Debian Woody with KDE 3.1.3. By contrast, I have no problems to build a package of lyx-1.3.2/Qt.
Re: Problem installing -1.3.3/Qt
Am 5. November 2003 10:13 schrieb Jean-Marc Lasgouttes I commited the following patch which hopefully solves the problem. JMarc Dear Jean-Marc, dear readers of this list, unfortunately this patch did not work for me. I had the same problem with lyx-1.3.3/Qt mentioned in the first posting of this thread when trying to build a package for Debian Woody with KDE 3.1.3. By contrast, I have no problems to build a package of lyx-1.3.2/Qt.
Re: Problem installing -1.3.3/Qt
Am 5. November 2003 10:13 schrieb Jean-Marc Lasgouttes >I commited the following patch >which hopefully solves the problem. >JMarc Dear Jean-Marc, dear readers of this list, unfortunately this patch did not work for me. I had the same problem with lyx-1.3.3/Qt mentioned in the first posting of this thread when trying to build a package for Debian Woody with KDE 3.1.3. By contrast, I have no problems to build a package of lyx-1.3.2/Qt.
Re: Problem installing -1.3.3/Qt
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Comment out the line in lib/Makefile. Here's the block of code. Angus Get rid of the last line. [...] Angus It would be useful, however, if you could discover WHY it is Angus failing. Probably just because I am stupid. I commited the following patch which hopefully solves the problem. JMarc Index: lib/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v retrieving revision 1.363.2.43 diff -u -p -r1.363.2.43 ChangeLog --- lib/ChangeLog 3 Oct 2003 13:34:39 - 1.363.2.43 +++ lib/ChangeLog 5 Nov 2003 16:49:56 - @@ -1,3 +1,8 @@ +2003-11-05 Jean-Marc Lasgouttes [EMAIL PROTECTED] + + * Makefile.am (install-xfonts): fix error when PSres.upr does not + exist + 2003-10-02 Jean-Marc Lasgouttes [EMAIL PROTECTED] * bind/aqua.bind: fix typo Index: lib/Makefile.am === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/Makefile.am,v retrieving revision 1.51.2.2 diff -u -p -r1.51.2.2 Makefile.am --- lib/Makefile.am 17 Sep 2003 13:47:24 - 1.51.2.2 +++ lib/Makefile.am 5 Nov 2003 16:49:56 - @@ -58,8 +58,10 @@ install-xfonts: ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ done ; \ $(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ - $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale - test -f xfonts/PSres.upr $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr + $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale ; \ + if test -f xfonts/PSres.upr ; then \ + $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr ; \ + fi uninstall-xfonts: rm -rf $(DESTDIR)$(pkgdatadir)/xfonts
Re: Problem installing -1.3.3/Qt
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Comment out the line in lib/Makefile. Here's the block of code. Angus Get rid of the last line. [...] Angus It would be useful, however, if you could discover WHY it is Angus failing. Probably just because I am stupid. I commited the following patch which hopefully solves the problem. JMarc Index: lib/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v retrieving revision 1.363.2.43 diff -u -p -r1.363.2.43 ChangeLog --- lib/ChangeLog 3 Oct 2003 13:34:39 - 1.363.2.43 +++ lib/ChangeLog 5 Nov 2003 16:49:56 - @@ -1,3 +1,8 @@ +2003-11-05 Jean-Marc Lasgouttes [EMAIL PROTECTED] + + * Makefile.am (install-xfonts): fix error when PSres.upr does not + exist + 2003-10-02 Jean-Marc Lasgouttes [EMAIL PROTECTED] * bind/aqua.bind: fix typo Index: lib/Makefile.am === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/Makefile.am,v retrieving revision 1.51.2.2 diff -u -p -r1.51.2.2 Makefile.am --- lib/Makefile.am 17 Sep 2003 13:47:24 - 1.51.2.2 +++ lib/Makefile.am 5 Nov 2003 16:49:56 - @@ -58,8 +58,10 @@ install-xfonts: ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ done ; \ $(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ - $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale - test -f xfonts/PSres.upr $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr + $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale ; \ + if test -f xfonts/PSres.upr ; then \ + $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr ; \ + fi uninstall-xfonts: rm -rf $(DESTDIR)$(pkgdatadir)/xfonts
Re: Problem installing -1.3.3/Qt
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Comment out the line in lib/Makefile. Here's the block of code. Angus> Get rid of the last line. [...] Angus> It would be useful, however, if you could discover WHY it is Angus> failing. Probably just because I am stupid. I commited the following patch which hopefully solves the problem. JMarc Index: lib/ChangeLog === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v retrieving revision 1.363.2.43 diff -u -p -r1.363.2.43 ChangeLog --- lib/ChangeLog 3 Oct 2003 13:34:39 - 1.363.2.43 +++ lib/ChangeLog 5 Nov 2003 16:49:56 - @@ -1,3 +1,8 @@ +2003-11-05 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * Makefile.am (install-xfonts): fix error when PSres.upr does not + exist + 2003-10-02 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * bind/aqua.bind: fix typo Index: lib/Makefile.am === RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/Makefile.am,v retrieving revision 1.51.2.2 diff -u -p -r1.51.2.2 Makefile.am --- lib/Makefile.am 17 Sep 2003 13:47:24 - 1.51.2.2 +++ lib/Makefile.am 5 Nov 2003 16:49:56 - @@ -58,8 +58,10 @@ install-xfonts: ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ done ; \ $(INSTALL_DATA) xfonts/fonts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ - $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale - test -f xfonts/PSres.upr && $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr + $(INSTALL_DATA) xfonts/fonts.scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale ; \ + if test -f xfonts/PSres.upr ; then \ + $(INSTALL_DATA) xfonts/PSres.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr ; \ + fi uninstall-xfonts: rm -rf $(DESTDIR)$(pkgdatadir)/xfonts
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: 1. Does the directory 'xfonts' exist? There we have it: no. I went looking after sending the previous message. However, it does exist on the workstation where I've been happily running lyx-1.3.3/qt. So, ... do I wait for a fix, make softlinks from the tetex/xfonts directory, or follow your instructions earlier in this message and comment out the lines in the ../lib/configure? Will lyx run properly if I do the latter? What happens if you create the directory by hand and then 'make install'? -- Angus
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: 1. Does the directory 'xfonts' exist? There we have it: no. I went looking after sending the previous message. However, it does exist on the workstation where I've been happily running lyx-1.3.3/qt. So, ... do I wait for a fix, make softlinks from the tetex/xfonts directory, or follow your instructions earlier in this message and comment out the lines in the ../lib/configure? Will lyx run properly if I do the latter? What happens if you create the directory by hand and then 'make install'? -- Angus
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: >> 1. Does the directory 'xfonts' exist? > > There we have it: no. I went looking after sending the previous > message. > However, it does exist on the workstation where I've been happily > running lyx-1.3.3/qt. > > So, ... do I wait for a fix, make softlinks from the tetex/xfonts > directory, or follow your instructions earlier in this message and > comment out the lines in the ../lib/configure? Will lyx run properly > if I do the latter? What happens if you create the directory by hand and then 'make install'? -- Angus
Re: Problem installing -1.3.3/Qt
Hi Rich, On Sunday 02 November 2003 02:24, Rich Shepard wrote: I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. I seem to remember this error from when I tried to install lyx-1.3.3/qt on my machinge (Suse 8.0). I solved it by installing the bluesky fonts in /usr/share/texmf/fonts/type1. Though it took me quite some time before I found what was going wrong Make sure to run texhash after installing any fonts. Hope that helps. Jeannette
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. -- Angus
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. Angus, What am I to do in the meantime? Is this an issue of qt with lyx? Of the specific versions of either or both? On my older workstation I installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's a way to do the same thing on Slackware. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: On Sun, 2 Nov 2003, Angus Leeming wrote: This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. Angus, What am I to do in the meantime? Is this an issue of qt with lyx? Of the specific versions of either or both? On my older workstation I installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's a way to do the same thing on Slackware. No, it's an issue of some brain-dead code in the configure script, lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make install') Put the attached patch in the lib directory and, from this directory, run $ patch -p0 configure.diff Thereafter, cross your fingers and hope that 'make install' works ;-) -- Angus--- configure_safe 2003-11-02 20:21:02.0 + +++ configure 2003-11-02 20:23:35.0 + @@ -1513,13 +1513,13 @@ echo $ac_t$result done -if test ! $num = 0 ; then +test $num -ne 0 which makepsres /dev/null 21 { echo $num xfonts/fonts.scale cat xfonts/tmpfonts xfonts/fonts.scale cp xfonts/fonts.scale xfonts/fonts.dir # create a resource list file for Display Postscript (cd xfonts ; rm -f PSres.upr ; makepsres -q) || true -fi +} rm -f xfonts/tmpfonts
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: No, it's an issue of some brain-dead code in the configure script, lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make install') Angus, Oh. Put the attached patch in the lib directory and, from this directory, run $ patch -p0 configure.diff I put the patch in /usr/local/lyx-1.3.3./lib/. Thereafter, cross your fingers and hope that 'make install' works ;-) Crossed fingers, toes and eyes; 'make install' still fails at the same point. I also tried re-making the executables, but that didn't help either. Next? Many thanks! Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: Crossed fingers, toes and eyes; 'make install' still fails at the same point. I also tried re-making the executables, but that didn't help either. Why would it? You already know that 'make' works fine. Next? Comment out the line in lib/Makefile. Here's the block of code. Get rid of the last line. install-xfonts: test -f xfonts/fonts.dir || exit 0 ; \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \ files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$ $/\1/' xfonts/fonts.dir` ; \ for i in $${files} ; do \ ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ done ; \ $(INSTALL_DATA) xfonts/fon ts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ $(INSTALL_DATA) xfonts/fonts .scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale test -f xfonts/PSres.upr $(INSTALL_DATA) xfonts/PSr es.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr It would be useful, however, if you could discover WHY it is failing. 1. Does the directory 'xfonts' exist? 2. Does the file xforms/PSres.upr exist? 3. I think that $(INSTALL_DATA) is '/usr/bin/ginstall -c -m 644'. What happens if you run the command 'by hand'? $ /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr echo success || echo failure -- Angus
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: Why would it? You already know that 'make' works fine. No reason other than confirming that there was no problem I hadn't noticed yesterday. 1. Does the directory 'xfonts' exist? There we have it: no. I went looking after sending the previous message. However, it does exist on the workstation where I've been happily running lyx-1.3.3/qt. So, ... do I wait for a fix, make softlinks from the tetex/xfonts directory, or follow your instructions earlier in this message and comment out the lines in the ../lib/configure? Will lyx run properly if I do the latter? Many thanks, Angus, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Hi Rich, On Sunday 02 November 2003 02:24, Rich Shepard wrote: I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. I seem to remember this error from when I tried to install lyx-1.3.3/qt on my machinge (Suse 8.0). I solved it by installing the bluesky fonts in /usr/share/texmf/fonts/type1. Though it took me quite some time before I found what was going wrong Make sure to run texhash after installing any fonts. Hope that helps. Jeannette
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. -- Angus
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. Angus, What am I to do in the meantime? Is this an issue of qt with lyx? Of the specific versions of either or both? On my older workstation I installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's a way to do the same thing on Slackware. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: On Sun, 2 Nov 2003, Angus Leeming wrote: This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. Angus, What am I to do in the meantime? Is this an issue of qt with lyx? Of the specific versions of either or both? On my older workstation I installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's a way to do the same thing on Slackware. No, it's an issue of some brain-dead code in the configure script, lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make install') Put the attached patch in the lib directory and, from this directory, run $ patch -p0 configure.diff Thereafter, cross your fingers and hope that 'make install' works ;-) -- Angus--- configure_safe 2003-11-02 20:21:02.0 + +++ configure 2003-11-02 20:23:35.0 + @@ -1513,13 +1513,13 @@ echo $ac_t$result done -if test ! $num = 0 ; then +test $num -ne 0 which makepsres /dev/null 21 { echo $num xfonts/fonts.scale cat xfonts/tmpfonts xfonts/fonts.scale cp xfonts/fonts.scale xfonts/fonts.dir # create a resource list file for Display Postscript (cd xfonts ; rm -f PSres.upr ; makepsres -q) || true -fi +} rm -f xfonts/tmpfonts
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: No, it's an issue of some brain-dead code in the configure script, lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make install') Angus, Oh. Put the attached patch in the lib directory and, from this directory, run $ patch -p0 configure.diff I put the patch in /usr/local/lyx-1.3.3./lib/. Thereafter, cross your fingers and hope that 'make install' works ;-) Crossed fingers, toes and eyes; 'make install' still fails at the same point. I also tried re-making the executables, but that didn't help either. Next? Many thanks! Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: Crossed fingers, toes and eyes; 'make install' still fails at the same point. I also tried re-making the executables, but that didn't help either. Why would it? You already know that 'make' works fine. Next? Comment out the line in lib/Makefile. Here's the block of code. Get rid of the last line. install-xfonts: test -f xfonts/fonts.dir || exit 0 ; \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \ files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$ $/\1/' xfonts/fonts.dir` ; \ for i in $${files} ; do \ ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ done ; \ $(INSTALL_DATA) xfonts/fon ts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ $(INSTALL_DATA) xfonts/fonts .scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale test -f xfonts/PSres.upr $(INSTALL_DATA) xfonts/PSr es.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr It would be useful, however, if you could discover WHY it is failing. 1. Does the directory 'xfonts' exist? 2. Does the file xforms/PSres.upr exist? 3. I think that $(INSTALL_DATA) is '/usr/bin/ginstall -c -m 644'. What happens if you run the command 'by hand'? $ /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr echo success || echo failure -- Angus
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: Why would it? You already know that 'make' works fine. No reason other than confirming that there was no problem I hadn't noticed yesterday. 1. Does the directory 'xfonts' exist? There we have it: no. I went looking after sending the previous message. However, it does exist on the workstation where I've been happily running lyx-1.3.3/qt. So, ... do I wait for a fix, make softlinks from the tetex/xfonts directory, or follow your instructions earlier in this message and comment out the lines in the ../lib/configure? Will lyx run properly if I do the latter? Many thanks, Angus, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Hi Rich, On Sunday 02 November 2003 02:24, Rich Shepard wrote: > I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. > Configure worked just fine, once I figured out to use './configure > --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with > no errors. > > However, both 'checkinstall' and 'make install' failed with > 'install-xfonts: Error 1' and a couple of more errors after that. This was > when trying 'test -f /xfonts/PSres.upr && /usr/bin/ginstall -c -m 644 > xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. I seem to remember this error from when I tried to install lyx-1.3.3/qt on my machinge (Suse 8.0). I solved it by installing the bluesky fonts in /usr/share/texmf/fonts/type1. Though it took me quite some time before I found what was going wrong Make sure to run texhash after installing any fonts. Hope that helps. Jeannette
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: > I tried building lyx-1.3.3/qt on my new laptop running > Slackware-9.1. > Configure worked just fine, once I figured out to use './configure > --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it > compiled with no errors. > > However, both 'checkinstall' and 'make install' failed with > 'install-xfonts: Error 1' and a couple of more errors after that. > This was when trying 'test -f /xfonts/PSres.upr && /usr/bin/ginstall > -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I believe, mainly to address this bug. -- Angus
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: > This is a known bug. Jean-Marc is planning a 1.3.4 release sometime soon I > believe, mainly to address this bug. Angus, What am I to do in the meantime? Is this an issue of qt with lyx? Of the specific versions of either or both? On my older workstation I installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's a way to do the same thing on Slackware. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: > On Sun, 2 Nov 2003, Angus Leeming wrote: > >> This is a known bug. Jean-Marc is planning a 1.3.4 release sometime >> soon I believe, mainly to address this bug. > > Angus, > > What am I to do in the meantime? Is this an issue of qt with lyx? > Of the > specific versions of either or both? On my older workstation I > installed the Red Hat rpm of 1.3.3 using qt so I'm asking if there's > a way to do the same thing on Slackware. No, it's an issue of some brain-dead code in the configure script, lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make install') Put the attached patch in the lib directory and, from this directory, run $ patch -p0 < configure.diff Thereafter, cross your fingers and hope that 'make install' works ;-) -- Angus--- configure_safe 2003-11-02 20:21:02.0 + +++ configure 2003-11-02 20:23:35.0 + @@ -1513,13 +1513,13 @@ echo "$ac_t""$result" done -if test ! $num = 0 ; then +test $num -ne 0 && which makepsres > /dev/null 2>&1 && { echo $num >xfonts/fonts.scale cat xfonts/tmpfonts >>xfonts/fonts.scale cp xfonts/fonts.scale xfonts/fonts.dir # create a resource list file for Display Postscript (cd xfonts ; rm -f PSres.upr ; makepsres -q) || true -fi +} rm -f xfonts/tmpfonts
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: > No, it's an issue of some brain-dead code in the configure script, > lib/configure (or $PREFIX/share/lyx/configure if you did manage to 'make > install') Angus, Oh. > Put the attached patch in the lib directory and, from this directory, > run > $ patch -p0 < configure.diff I put the patch in /usr/local/lyx-1.3.3./lib/. > Thereafter, cross your fingers and hope that 'make install' works ;-) Crossed fingers, toes and eyes; 'make install' still fails at the same point. I also tried re-making the executables, but that didn't help either. Next? Many thanks! Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Re: Problem installing -1.3.3/Qt
Rich Shepard wrote: > Crossed fingers, toes and eyes; 'make install' still fails at the > same point. I also tried re-making the executables, > but that didn't help either. Why would it? You already know that 'make' works fine. > Next? Comment out the line in lib/Makefile. Here's the block of code. Get rid of the last line. install-xfonts: test -f xfonts/fonts.dir || exit 0 ; \ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/xfonts ; \ files=`sed -e 's/^[0-9]*$$//' -e 's/^\([^ ]*\) .*$ $/\1/' xfonts/fonts.dir` ; \ for i in $${files} ; do \ ln -f -s `kpsewhich $$i` $(DESTDIR)$(pkgdatadir)/xfonts/$$i ; \ done ; \ $(INSTALL_DATA) xfonts/fon ts.dir $(DESTDIR)$(pkgdatadir)/xfonts/fonts.dir ; \ $(INSTALL_DATA) xfonts/fonts .scale $(DESTDIR)$(pkgdatadir)/xfonts/fonts.scale test -f xfonts/PSres.upr && $(INSTALL_DATA) xfonts/PSr es.upr $(DESTDIR)$(pkgdatadir)/xfonts/PSres.upr It would be useful, however, if you could discover WHY it is failing. 1. Does the directory 'xfonts' exist? 2. Does the file xforms/PSres.upr exist? 3. I think that $(INSTALL_DATA) is '/usr/bin/ginstall -c -m 644'. What happens if you run the command 'by hand'? $ /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr && echo success || echo failure -- Angus
Re: Problem installing -1.3.3/Qt
On Sun, 2 Nov 2003, Angus Leeming wrote: > Why would it? You already know that 'make' works fine. No reason other than confirming that there was no problem I hadn't noticed yesterday. > 1. Does the directory 'xfonts' exist? There we have it: no. I went looking after sending the previous message. However, it does exist on the workstation where I've been happily running lyx-1.3.3/qt. So, ... do I wait for a fix, make softlinks from the tetex/xfonts directory, or follow your instructions earlier in this message and comment out the lines in the ../lib/configure? Will lyx run properly if I do the latter? Many thanks, Angus, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/
Problem installing -1.3.3/Qt
I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. That file should have been there since make exited with code 0 (success). No? I've not before encountered a build where it would not install. Any and all suggestions for what I should do will be greatly appreciated. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Problem installing -1.3.3/Qt
I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. That file should have been there since make exited with code 0 (success). No? I've not before encountered a build where it would not install. Any and all suggestions for what I should do will be greatly appreciated. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepard#64;appl-ecosys.com http://www.appl-ecosys.com/
Problem installing -1.3.3/Qt
I tried building lyx-1.3.3/qt on my new laptop running Slackware-9.1. Configure worked just fine, once I figured out to use './configure --with-frontend=qt --with-qt-dir=/usr/local/qt-3.2.2' and it compiled with no errors. However, both 'checkinstall' and 'make install' failed with 'install-xfonts: Error 1' and a couple of more errors after that. This was when trying 'test -f /xfonts/PSres.upr && /usr/bin/ginstall -c -m 644 xfonts/PSres.upr /usr/local/share/lyx/xfonts/PSres.upr'. That file should have been there since make exited with code 0 (success). No? I've not before encountered a build where it would not install. Any and all suggestions for what I should do will be greatly appreciated. Thanks, Rich Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) 2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A. + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | rshepardappl-ecosys.com http://www.appl-ecosys.com/