Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
I already have the /root/Downloads/espgs-8.15.4 folder. I attempted to copy/paste the text file into a file named espgs-8.15.4-bov_fix-1.patch in this folder, and gave executing permission to the file. This does not work as I get the error code:
bash-4.1# patch -Np1 -i ../espgs-8.15.4-bov_fix-1.patch && sed -i "s/bbox.dev$/x11.dev/" Makefile.in && ./configure --prefix=/usr --enable-threads --without-omni && make
patch: **** Can't open patch file ../espgs-8.15.4-bov_fix-1.patch : No such file or directory
Actually this is not the correct place: This is an old thread and although your question is about a patch, it isn't related to the original question.
You also need to give us some basic information: Which LFS version are you building? Why this old version?
It seems that this is not LFS related, but BLFS and, depending on what you are doing, probably the wrong BLFS version (6.3 is old and doesn't work with the current, 6.4 and newer, LFS versions). You need to build the development version.
I already have the /root/Downloads/espgs-8.15.4 folder. I attempted to copy/paste the text file into a file named espgs-8.15.4-bov_fix-1.patch in this folder, and gave executing permission to the file. This does not work as I get the error code:
bash-4.1# patch -Np1 -i ../espgs-8.15.4-bov_fix-1.patch && sed -i "s/bbox.dev$/x11.dev/" Makefile.in && ./configure --prefix=/usr --enable-threads --without-omni && make
patch: **** Can't open patch file ../espgs-8.15.4-bov_fix-1.patch : No such file or directory
What would you suggest?
You need to follow the book. Where does it state that you must move the patch to the package source directory? The patch command also shows that it looks for the patch in the underlying directory. This shouldn't be a surprise, you have done this multiple times when building LFS.
If you extracted the package in /root/Downloads/espgs-8.15.4, the patch should reside in /root/Downloads/
In fact I never built LFS, I was just trying to build espgs-8.15.4. As the INSTALL file mentioned in the README file was not in the package, I just googled dropped on this LFS chapter on installing ESP Ghostscript.
Maybe, I should have found a previous version of espgs for the install file. It seems that I am not at all doing the right thing. In fact, trying to work with espgs, an old program as you mentioned, is not the right path to follow.
In fact, I am just trying to install a program so that my brother hl2170, will function under slackware or porteus.
Its seems that I am just begining to make some difference between ghostscript, cups, gutenprint and other concepts. Given that my printer did not worked just out of the box on porteus.
Actually, I am reading the gutenprint-users-manual.pdf. Lets see if it will make any good.
I am just trying to install that brother printer of mine on Porteus.
I am no linux geek for sure.
Last edited by francois.e; 07-23-2011 at 06:52 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.