Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To install xforms it looks like you would read the 00README file and possible edit your Makefile to fit your system. Likely though you just skip the configure stage and just:
make
And pray for no errors. If there are none, usually following it with a:
make install
Will then allow lyx to pick it up in the configure stage.
I think you come from window$, you are familiar to mouse and double click to install.
so, instead of using tar.gz ( which need untaring, compiling installing ) software download the rpm's software.
for lyx download lyx rpm
the newversion lyx , for example lyx-1.3.1-1rh8-qt.i386.rpm
doesn't need xforms, it needs qt which is install in rh8 or rh9.
you can use the kpackage ( on kde ) to install, but it s better to use from the xterm
rpm has several options the more used are:
rpm -ivh package : to install package
rpm -qi package to get info on the package
rpm -ql package to get list of the file in the package
rpm -e package to erase the package
I already tried to read the 00README file, but couldn't understand it.
I tried make and got this:
making all in ./lib/include...
/bin/sh: /usr/ccs/bin/make: No such file or directory
making all in ./lib...
/bin/sh: /usr/ccs/bin/make: No such file or directory
making all in ./image...
/bin/sh: /usr/ccs/bin/make: No such file or directory
making all in ./gl...
/bin/sh: /usr/ccs/bin/make: No such file or directory
making all in ./fdesign...
/bin/sh: /usr/ccs/bin/make: No such file or directory
making all in ./fd2ps...
/bin/sh: /usr/ccs/bin/make: No such file or directory
make: *** [all] Error 127
The readme should be readable with less:
less 00README
As far as all the errors go, it looks like it's pointing to the wrong location for make, see about editing that Makefile as it will likely have something like:
$MAKE = /usr/ccs/bin/make
And you'll wanna change that to the location of make on your system, to find out where that is type:
whereis make
00readme:
To build, unpack the distribution in the standard manner into your
favorite subdirectory.
Take a look at the `Imakefile' in the top level directory. In theory,
this is the only file you should have to mess with. If you have to
diddle with anything else, I've done something wrong and you should
tell me (please be gentle).
At the very top, you should find a collection on "#define" statements.
These should be the only items you should need to edit. Your choices
are usually "YES" and "NO".
Makefile:
# Makefile generated by imake - do not edit!
Imake file:
/* Configuration -- see 00README for details */
(Note: After reading the README from the site where you got that tarball: http://savannah.nongnu.org/download/...1.0/README-1.0
It would appear that after editing the Imakefile you'd then type:
xmkmf -a
If your version of xmkmf doesn't support the -a option then you would type instead:
xmkmf
make Makefiles
make includes
make depend
And after it all finishes, then run:
make
make install
And then
make install.man
But, read on...)
Alright, so I just did a little bit of studying on Lyx, try the following:
Grab this: ftp://ftp.lyx.org/pub/lyx/contrib/xf...elease.src.rpm
It's the source rpm for xforms, then in the directory where you download that to type this:
rpm --rebuild xforms-1.0-release.src.rpm
When it's finished it will tell you where it has placed the binary RPM, go there and install the binary RPM with:
rpm -Uvh xforms-1.0.rpm (or whatever the final name is)
Then grab this: ftp://ftp.lyx.org/pub/lyx/stable/lyx-1.3.2.tar.gz (which you already have I believe?) and compile and install it after installing the above package.
The alternative to grabbing this source and installing from it is to use: ftp://ftp.lyx.org/pub/lyx/bin/1.3.2/...2-1_qt.src.rpm
And run it as you did with the above file:
rpm --rebuild lyx-1.3.2-1_qt.src.rpm
And then when it's finished use the file it creates and install as instructed above.
And here we go:
Untar that bad boy. It will create a directory, cd into that directory:
cd xforms-1.0
Edit the Imakefile if you need to, I suggest changing O4 to O2 or O3 probably O2 for ease. Then type:
xmkmf -a
Sit back and wait for it to finish, if you get errors from that, post em up.
Once it's done, then type:
make
If you get errors from that, post em up.
Finally, if all that went well, let's install that puppy:
make install
And:
make install.man
Once that's done, go back to lyx and give that bad boy a try
Whoa! We are getting somewhere though, that's good
Let's try the easy route first. As root type:
updatedb &&
ldconfig
And sit back until it's finished. When it's done try running:
lyx
Again. If you recieve the same error try this:
locate libflimage
If it returns a location GREAT! Jot down the location, then open up:
/etc/ld.so.conf
In a text editor. Add that location to the very bottom of the file, so for example let's say the file was at /usr/local/lib/libflimage.so.1 then you'll wanna add:
/usr/local/lib
To the bottom of that file, as the last line. Then, save and exit, and rerun:
ldconfig
After it's finished, try starting lyx again. Post up any errors you get.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.