Re: installing lyx-1.2.1-1 on RedHat 7.3

2002-09-29 Thread Matej Cepl

On Thu, Sep 26, 2002 at 08:35:58PM -0700, Rich Shepard wrote:
   There is an easier, and equivalent, way of doing this.
 
   Install the src.rpm ('rpm -ivh package.src.rpm'). This puts the
 components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
 ../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
 package.spec'. This is the 'build all' command and it will recreate the
 .src.rpm the binary .rpm and all based on what's on your box. With this
 approach you can also add other options, such as '--target i686'.

There is yet more simple way:

in any directory run
rpm --rebuild package.src.rpm

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
-- [EMAIL PROTECTED]




Re: installing lyx-1.2.1-1 on RedHat 7.3

2002-09-29 Thread Matej Cepl

On Thu, Sep 26, 2002 at 08:35:58PM -0700, Rich Shepard wrote:
   There is an easier, and equivalent, way of doing this.
 
   Install the src.rpm ('rpm -ivh package.src.rpm'). This puts the
 components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
 ../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
 package.spec'. This is the 'build all' command and it will recreate the
 .src.rpm the binary .rpm and all based on what's on your box. With this
 approach you can also add other options, such as '--target i686'.

There is yet more simple way:

in any directory run
rpm --rebuild package.src.rpm

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
-- [EMAIL PROTECTED]




Re: installing lyx-1.2.1-1 on RedHat 7.3

2002-09-29 Thread Matej Cepl

On Thu, Sep 26, 2002 at 08:35:58PM -0700, Rich Shepard wrote:
>   There is an easier, and equivalent, way of doing this.
> 
>   Install the src.rpm ('rpm -ivh .src.rpm'). This puts the
> components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
> ../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
> .spec'. This is the 'build all' command and it will recreate the
> .src.rpm the binary .rpm and all based on what's on your box. With this
> approach you can also add other options, such as '--target i686'.

There is yet more simple way:

in any directory run
rpm --rebuild .src.rpm

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
-- [EMAIL PROTECTED]




installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Hello,
I tried to rebuild the source RPM on Redhat 7.3 as instructed. 
(rpm --rebuild lyx-1.2.1-1.src.rpm)
However the rebuild did not work the following error message was
generated;

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src/ -I../../../src/frontends/
-I../../../src/frontends/controllers -I../../.. -I../../../boost
-isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c Alert_pimpl.C
-MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.TPlo
In file included from Alert_pimpl.C:17:
xforms_helpers.h:17:26: forms.h: No such file or directory
Alert_pimpl.C:21:26: forms.h: No such file or directory
make[5]: *** [Alert_pimpl.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.94265 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.94265 (%build)



any suggestions

Thanks in advance!
Matty






installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Dear all,

I hope this helps any redhat users out there. I eventually managed to
get lyx 1.2.1 running on redhat 7.3.  I am definitely not an expert on
linux, redhat ect so if there is anything wrong or dangerous with the
following suggestions please point them out before i cause major damage
to others.

I tried to rebuild lyx using the the source file as suggested
(rpm --rebuild lyx-1.2.1-1.src.rpm) i recieved an error related in to
xforms.

I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

Then i tried installing lyx-1.2.1-1.rpm and rebiulding from
lyx-1.2.1-1.src.rpm, this still would not work (libstdc++-libc6.1-2.so.3
was now the problem)


However the good news is that recompiling the source code (generated
during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
./configure and ./make worked  once xforms-0.88-4 was installed


Matty

On Fri, 2002-09-27 at 10:05, Rich Shepard wrote:
 On 27 Sep 2002, Matthew Kelly wrote:
 
  xforms_helpers.h:17:26: forms.h: No such file or directory
 
 Matty,
 
   Do you have the xforms package installed? If not, grab that first.
 
 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) | [EMAIL PROTECTED]
  http://www.appl-ecosys.com
 





Re: installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Rich Shepard

On 27 Sep 2002, Matthew Kelly wrote:

 I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

  Good move!
 
 However the good news is that recompiling the source code (generated
 during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
 ./configure and ./make worked  once xforms-0.88-4 was installed

  There is an easier, and equivalent, way of doing this.

  Install the src.rpm ('rpm -ivh package.src.rpm'). This puts the
components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
package.spec'. This is the 'build all' command and it will recreate the
.src.rpm the binary .rpm and all based on what's on your box. With this
approach you can also add other options, such as '--target i686'.

  As a further couple of points of interest, most well-built tarballs have a
spec file in them. You can try running 'rpm -ta package.tgz' and you
should get a binary package from it.

  Also, grab the rpm for 'checkinstall'. It, too, will build a Red Hat .rpm
(or Debian .deb) from a tarball. Instead of running ./configure, make, make
install, you replace the last step with checkinstall.

Have fun!

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) | [EMAIL PROTECTED]
 http://www.appl-ecosys.com





installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Hello,
I tried to rebuild the source RPM on Redhat 7.3 as instructed. 
(rpm --rebuild lyx-1.2.1-1.src.rpm)
However the rebuild did not work the following error message was
generated;

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src/ -I../../../src/frontends/
-I../../../src/frontends/controllers -I../../.. -I../../../boost
-isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c Alert_pimpl.C
-MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.TPlo
In file included from Alert_pimpl.C:17:
xforms_helpers.h:17:26: forms.h: No such file or directory
Alert_pimpl.C:21:26: forms.h: No such file or directory
make[5]: *** [Alert_pimpl.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.94265 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.94265 (%build)



any suggestions

Thanks in advance!
Matty






installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Dear all,

I hope this helps any redhat users out there. I eventually managed to
get lyx 1.2.1 running on redhat 7.3.  I am definitely not an expert on
linux, redhat ect so if there is anything wrong or dangerous with the
following suggestions please point them out before i cause major damage
to others.

I tried to rebuild lyx using the the source file as suggested
(rpm --rebuild lyx-1.2.1-1.src.rpm) i recieved an error related in to
xforms.

I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

Then i tried installing lyx-1.2.1-1.rpm and rebiulding from
lyx-1.2.1-1.src.rpm, this still would not work (libstdc++-libc6.1-2.so.3
was now the problem)


However the good news is that recompiling the source code (generated
during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
./configure and ./make worked  once xforms-0.88-4 was installed


Matty

On Fri, 2002-09-27 at 10:05, Rich Shepard wrote:
 On 27 Sep 2002, Matthew Kelly wrote:
 
  xforms_helpers.h:17:26: forms.h: No such file or directory
 
 Matty,
 
   Do you have the xforms package installed? If not, grab that first.
 
 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) | [EMAIL PROTECTED]
  http://www.appl-ecosys.com
 





Re: installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Rich Shepard

On 27 Sep 2002, Matthew Kelly wrote:

 I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

  Good move!
 
 However the good news is that recompiling the source code (generated
 during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
 ./configure and ./make worked  once xforms-0.88-4 was installed

  There is an easier, and equivalent, way of doing this.

  Install the src.rpm ('rpm -ivh package.src.rpm'). This puts the
components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
package.spec'. This is the 'build all' command and it will recreate the
.src.rpm the binary .rpm and all based on what's on your box. With this
approach you can also add other options, such as '--target i686'.

  As a further couple of points of interest, most well-built tarballs have a
spec file in them. You can try running 'rpm -ta package.tgz' and you
should get a binary package from it.

  Also, grab the rpm for 'checkinstall'. It, too, will build a Red Hat .rpm
(or Debian .deb) from a tarball. Instead of running ./configure, make, make
install, you replace the last step with checkinstall.

Have fun!

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) | [EMAIL PROTECTED]
 http://www.appl-ecosys.com





installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Hello,
I tried to rebuild the source RPM on Redhat 7.3 as instructed. 
(rpm --rebuild lyx-1.2.1-1.src.rpm)
However the rebuild did not work the following error message was
generated;

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../images
-I../../../src/ -I../../../src/frontends/
-I../../../src/frontends/controllers -I../../.. -I../../../boost
-isystem /usr/X11R6/include -O2 -march=i386 -mcpu=i686 -c Alert_pimpl.C
-MT Alert_pimpl.lo -MD -MP -MF .deps/Alert_pimpl.TPlo
In file included from Alert_pimpl.C:17:
xforms_helpers.h:17:26: forms.h: No such file or directory
Alert_pimpl.C:21:26: forms.h: No such file or directory
make[5]: *** [Alert_pimpl.lo] Error 1
make[5]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends/xforms'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/src/redhat/BUILD/lyx-1.2.1/src/frontends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/lyx-1.2.1/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.94265 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.94265 (%build)



any suggestions

Thanks in advance!
Matty






installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Matthew Kelly

Dear all,

I hope this helps any redhat users out there. I eventually managed to
get lyx 1.2.1 running on redhat 7.3.  I am definitely not an expert on
linux, redhat ect so if there is anything wrong or dangerous with the
following suggestions please point them out before i cause major damage
to others.

I tried to rebuild lyx using the the source file as suggested
(rpm --rebuild lyx-1.2.1-1.src.rpm) i recieved an error related in to
xforms.

I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

Then i tried installing lyx-1.2.1-1.rpm and rebiulding from
lyx-1.2.1-1.src.rpm, this still would not work (libstdc++-libc6.1-2.so.3
was now the problem)


However the good news is that recompiling the source code (generated
during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
./configure and ./make worked  once xforms-0.88-4 was installed


Matty

On Fri, 2002-09-27 at 10:05, Rich Shepard wrote:
> On 27 Sep 2002, Matthew Kelly wrote:
> 
> > xforms_helpers.h:17:26: forms.h: No such file or directory
> 
> Matty,
> 
>   Do you have the xforms package installed? If not, grab that first.
> 
> 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) | [EMAIL PROTECTED]
>  http://www.appl-ecosys.com
> 





Re: installing lyx-1.2.1-1 on RedHat 7.3

2002-09-26 Thread Rich Shepard

On 27 Sep 2002, Matthew Kelly wrote:

> I then uninstalled xforms-0.89-5 and replaced it with xforms-0.88-4

  Good move!
 
> However the good news is that recompiling the source code (generated
> during rpm --rebuild lyx-1.2.1-1.src.rpm) using 
> ./configure and ./make worked  once xforms-0.88-4 was installed

  There is an easier, and equivalent, way of doing this.

  Install the src.rpm ('rpm -ivh .src.rpm'). This puts the
components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
.spec'. This is the 'build all' command and it will recreate the
.src.rpm the binary .rpm and all based on what's on your box. With this
approach you can also add other options, such as '--target i686'.

  As a further couple of points of interest, most well-built tarballs have a
spec file in them. You can try running 'rpm -ta .tgz' and you
should get a binary package from it.

  Also, grab the rpm for 'checkinstall'. It, too, will build a Red Hat .rpm
(or Debian .deb) from a tarball. Instead of running ./configure, make, make
install, you replace the last step with checkinstall.

Have fun!

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) | [EMAIL PROTECTED]
 http://www.appl-ecosys.com