Re: rpm-ing lyx
I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Tony On 30 Sep, Kayvan A. Sylvan wrote: On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
"Kayvan A. Sylvan" wrote: On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: since I'm pretty newbie, could you tell me how to rpm a binary from the rpm source? Thanks, Tobias Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92) -- Tobias Klaus Department of Political Science Trinity College Dublin Dublin 2 Ireland Neuffenstr, 6/1 73116 Waeschenbeuren Germany
Re: rpm-ing lyx
On Fri, 1 Oct 1999, Tony Dancer wrote: I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Yes, you're right. Check the lyx.spec file which comes with the sources and you'll see. Look for rpmdir=/var/... or something like that. On the other hand, instmon (http://www.freshmeat.net and search) is a handy tool. It monitors where the files go and it's able to make .rpm from of the installed program. -- v Davor Cengija [EMAIL PROTECTED] === "Please allow 30 days for delivery"
Re: rpm-ing lyx
On Fri, 1 Oct 1999, Tobias Klaus wrote: You can try rebuilding my rpm from the src.rpm file: since I'm pretty newbie, could you tell me how to rpm a binary from the rpm source? Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. Read the rpm manpage. The basic procedure is as follows (su root, of course) rpm -i lyx*.src.rpm cd /usr/src/redhat/SPECS here you'll see lyx.spec file. edit it to suit your needs. the format is pretty much the same as you were compiling the binary from the sources. rpm -bb lyx.spec wait, wait more... cd ../RPMS/i386 if you're on Intel, of course here are lyx...rpm files It's the basic rpm build process. I don't know if LyX would act any different (like, putting some files into RPMS/noarch/ directory) -- v Davor Cengija [EMAIL PROTECTED] === "Please allow 30 days for delivery"
Re: rpm-ing lyx
Thanks, I tried using the src.rpm as well as extracting the xpm and putting it in the respective directory. Both give me the following message: Configuration: Source code location: . Compiler: g++ Compiler flags: -O2 -m486 -fno-strength-reduce LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx Special flags: The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** Cannot find X window libraries and/or headers. Check your installation. If you use a Linux system, check that you have installed the development tools. I installed Suse6.2 out of the box, XForms is installed, libXpm not, but it isn't on the Suse6.2 either, yet I believe they are what Suse calls simply xpm - is this right? Any ideas how to get it installed? Tobias Tony Dancer wrote: I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Tony On 30 Sep, Kayvan A. Sylvan wrote: On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92) -- Tobias Klaus Department of Political Science Trinity College Dublin Dublin 2 Ireland Neuffenstr, 6/1 73116 Waeschenbeuren Germany
Re: rpm-ing lyx
You need to install libXpm and the respective Xpm header files. On my Linux system, they are the xpm-3.4j-5 and xpm-devel-3.4j-5 packages. On Fri, Oct 01, 1999 at 03:19:52PM +0200, Tobias Klaus wrote: Thanks, I tried using the src.rpm as well as extracting the xpm and putting it in the respective directory. Both give me the following message: Configuration: Source code location: . Compiler: g++ Compiler flags: -O2 -m486 -fno-strength-reduce LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx Special flags: The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** Cannot find X window libraries and/or headers. Check your installation. If you use a Linux system, check that you have installed the development tools. -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Tony On 30 Sep, Kayvan A. Sylvan wrote: On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
"Kayvan A. Sylvan" wrote: On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: since I'm pretty newbie, could you tell me how to rpm a binary from the rpm source? Thanks, Tobias Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92) -- Tobias Klaus Department of Political Science Trinity College Dublin Dublin 2 Ireland Neuffenstr, 6/1 73116 Waeschenbeuren Germany
Re: rpm-ing lyx
On Fri, 1 Oct 1999, Tony Dancer wrote: I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Yes, you're right. Check the lyx.spec file which comes with the sources and you'll see. Look for rpmdir=/var/... or something like that. On the other hand, instmon (http://www.freshmeat.net and search) is a handy tool. It monitors where the files go and it's able to make .rpm from of the installed program. -- v Davor Cengija [EMAIL PROTECTED] === "Please allow 30 days for delivery"
Re: rpm-ing lyx
On Fri, 1 Oct 1999, Tobias Klaus wrote: You can try rebuilding my rpm from the src.rpm file: since I'm pretty newbie, could you tell me how to rpm a binary from the rpm source? Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. Read the rpm manpage. The basic procedure is as follows (su root, of course) rpm -i lyx*.src.rpm cd /usr/src/redhat/SPECS here you'll see lyx.spec file. edit it to suit your needs. the format is pretty much the same as you were compiling the binary from the sources. rpm -bb lyx.spec wait, wait more... cd ../RPMS/i386 if you're on Intel, of course here are lyx...rpm files It's the basic rpm build process. I don't know if LyX would act any different (like, putting some files into RPMS/noarch/ directory) -- v Davor Cengija [EMAIL PROTECTED] === "Please allow 30 days for delivery"
Re: rpm-ing lyx
Thanks, I tried using the src.rpm as well as extracting the xpm and putting it in the respective directory. Both give me the following message: Configuration: Source code location: . Compiler: g++ Compiler flags: -O2 -m486 -fno-strength-reduce LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx Special flags: The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** Cannot find X window libraries and/or headers. Check your installation. If you use a Linux system, check that you have installed the development tools. I installed Suse6.2 out of the box, XForms is installed, libXpm not, but it isn't on the Suse6.2 either, yet I believe they are what Suse calls simply xpm - is this right? Any ideas how to get it installed? Tobias Tony Dancer wrote: I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Tony On 30 Sep, Kayvan A. Sylvan wrote: On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92) -- Tobias Klaus Department of Political Science Trinity College Dublin Dublin 2 Ireland Neuffenstr, 6/1 73116 Waeschenbeuren Germany
Re: rpm-ing lyx
You need to install libXpm and the respective Xpm header files. On my Linux system, they are the xpm-3.4j-5 and xpm-devel-3.4j-5 packages. On Fri, Oct 01, 1999 at 03:19:52PM +0200, Tobias Klaus wrote: Thanks, I tried using the src.rpm as well as extracting the xpm and putting it in the respective directory. Both give me the following message: Configuration: Source code location: . Compiler: g++ Compiler flags: -O2 -m486 -fno-strength-reduce LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx Special flags: The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** Cannot find X window libraries and/or headers. Check your installation. If you use a Linux system, check that you have installed the development tools. -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
I had this problem when building from the tar.gz, and found the quickest solution was to extract lyx.xpm from the archive and place it in the directory RPM was complaining it couldnt find it in (in my case, the redhat/SOURCES directory. worked fine. I suspect the RPM spec file in the archive is a bit wonky. Tony On 30 Sep, Kayvan A. Sylvan wrote: > On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: >> Hi, >> >> I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the >> following message: >> Unable to stat icon: /xxx/xxx/lyx.xpm >> Any ideas how to do it such that it works? > > Huh. I had no problem with rpm-ing lyx for RH 6.0. > > You can try rebuilding my rpm from the src.rpm file: > > Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. > > ---Kayvan > > -- > Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: > Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) > http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
"Kayvan A. Sylvan" wrote: > > On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: > > Hi, > > > > I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the > > following message: > > Unable to stat icon: /xxx/xxx/lyx.xpm > > Any ideas how to do it such that it works? > > Huh. I had no problem with rpm-ing lyx for RH 6.0. > > You can try rebuilding my rpm from the src.rpm file: since I'm pretty newbie, could you tell me how to rpm a binary from the rpm source? Thanks, Tobias > > Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. > > ---Kayvan > > -- > Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: > Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) > http://sylvan.com/~kayvan | | Robin Gregory (2/28/92) -- Tobias Klaus Department of Political Science Trinity College Dublin Dublin 2 Ireland Neuffenstr, 6/1 73116 Waeschenbeuren Germany
Re: rpm-ing lyx
On Fri, 1 Oct 1999, Tony Dancer wrote: >I had this problem when building from the tar.gz, and found the >quickest solution was to extract lyx.xpm from the archive and place it >in the directory RPM was complaining it couldnt find it in (in my case, >the redhat/SOURCES directory. > >worked fine. I suspect the RPM spec file in the archive is a bit wonky. > Yes, you're right. Check the lyx.spec file which comes with the sources and you'll see. Look for rpmdir=/var/... or something like that. On the other hand, instmon (http://www.freshmeat.net and search) is a handy tool. It monitors where the files go and it's able to make .rpm from of the installed program. -- v Davor Cengija [EMAIL PROTECTED] === "Please allow 30 days for delivery"
Re: rpm-ing lyx
On Fri, 1 Oct 1999, Tobias Klaus wrote: >> You can try rebuilding my rpm from the src.rpm file: > >since I'm pretty newbie, could you tell me how to rpm a binary from the >rpm source? >> Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. Read the rpm manpage. The basic procedure is as follows (su root, of course) rpm -i lyx*.src.rpm cd /usr/src/redhat/SPECS rpm -bb lyx.speccd ../RPMS/i386 It's the basic rpm build process. I don't know if LyX would act any different (like, putting some files into RPMS/noarch/ directory) -- v Davor Cengija [EMAIL PROTECTED] === "Please allow 30 days for delivery"
Re: rpm-ing lyx
Thanks, I tried using the src.rpm as well as extracting the xpm and putting it in the respective directory. Both give me the following message: Configuration: Source code location: . Compiler: g++ Compiler flags: -O2 -m486 -fno-strength-reduce LyX binary dir: /usr/bin LyX files dir: /usr/share/lyx Special flags: The following problems have been detected by configure. Please check the messages below before running 'make'. (see the section 'Problems' in the INSTALL file) ** Cannot find X window libraries and/or headers. Check your installation. If you use a Linux system, check that you have installed the development tools. I installed Suse6.2 out of the box, XForms is installed, libXpm not, but it isn't on the Suse6.2 either, yet I believe they are what Suse calls simply xpm - is this right? Any ideas how to get it installed? Tobias Tony Dancer wrote: > > I had this problem when building from the tar.gz, and found the > quickest solution was to extract lyx.xpm from the archive and place it > in the directory RPM was complaining it couldnt find it in (in my case, > the redhat/SOURCES directory. > > worked fine. I suspect the RPM spec file in the archive is a bit wonky. > > Tony > > On 30 Sep, Kayvan A. Sylvan wrote: > > On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: > >> Hi, > >> > >> I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the > >> following message: > >> Unable to stat icon: /xxx/xxx/lyx.xpm > >> Any ideas how to do it such that it works? > > > > Huh. I had no problem with rpm-ing lyx for RH 6.0. > > > > You can try rebuilding my rpm from the src.rpm file: > > > > Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. > > > > ---Kayvan > > > > -- > > Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: > > Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) > > http://sylvan.com/~kayvan | | Robin Gregory (2/28/92) -- Tobias Klaus Department of Political Science Trinity College Dublin Dublin 2 Ireland Neuffenstr, 6/1 73116 Waeschenbeuren Germany
Re: rpm-ing lyx
You need to install libXpm and the respective Xpm header files. On my Linux system, they are the xpm-3.4j-5 and xpm-devel-3.4j-5 packages. On Fri, Oct 01, 1999 at 03:19:52PM +0200, Tobias Klaus wrote: > Thanks, I tried using the src.rpm as well as extracting the xpm and > putting it in the respective directory. Both give me the following > message: > Configuration: > Source code location: . > Compiler: g++ > Compiler flags: -O2 -m486 -fno-strength-reduce > LyX binary dir: /usr/bin > LyX files dir: /usr/share/lyx > Special flags: > > The following problems have been detected by configure. > Please check the messages below before running 'make'. > (see the section 'Problems' in the INSTALL file) > > ** Cannot find X window libraries and/or headers. Check your > installation. >If you use a Linux system, check that you have installed >the development tools. -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: Hi, I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the following message: Unable to stat icon: /xxx/xxx/lyx.xpm Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)
Re: rpm-ing lyx
On Thu, Sep 30, 1999 at 11:52:10PM +0200, Tobias Klaus wrote: > Hi, > > I just tried to rpm -tb lyx-1.0.4.tar.gz for Suse6.2, and I got the > following message: > Unable to stat icon: /xxx/xxx/lyx.xpm > Any ideas how to do it such that it works? Huh. I had no problem with rpm-ing lyx for RH 6.0. You can try rebuilding my rpm from the src.rpm file: Look in ftp://ftp.sylvan.com/pub/lyx/ for the lyx-1.0.4-1.src.rpm file. ---Kayvan -- Kayvan Aghaiepour Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | | Robin Gregory (2/28/92)