Error encountered for the stage 5.13. Ncurses-5.6
While executing the following command:
Code:
./configure --prefix=/tools --with-shared \ i got this error as shown below Code:
configure: error: Cannot link with GPM library Here is the output of the command. Code:
lfs:/mnt/lfs/sources/ncurses-5.6$ ./configure --prefix=/tools --with-shared --without-debug --without-ada --enable-overwrite Thanks.. =) |
I have to add the option --with-gpm=no so it will configure it without that library. and everything worked fine.
|
Thanks man...appreciate your help. I'll try it in the late morning.
One more question, not sure you could help to clear my doubt. At the initial stage, we were told to create a Build directory for Binutils-2.17 - Pass 1 and GCC-4.1.2 - Pass 1. Somehow i couldn't understand the instruction, so i just compile them in $LFS/sources and after i had done what needed to be done, i just deleted the sources directory away and recreate again for the next package to be compiled. So the question is, will the absence of the two build directories affect the rest of the installation of LFS? If it does, then i think i'll redo it from scratch again.. and that will be my 4th time . Thanks. Justin |
No when you run the second pass of the binutils and the glibc you will recreate the directory anyway.
What they want you to there is to create a second directory to build the tool in. so you source directory would look like Source ----Binutils-2.17 ----Binutils-build Then when you are done compiling you can just delete the build directory and keep the 2.17 for the second pass. The way you did it shouldn't cause any trouble. Took me a few runs through the first part of the book to get it right as well. |
okay, got it! Let me try it again later on. Will post it here again once .. i manage to get it up successfully.
Thanks FLLinux . =) |
erh... actually i had switched off my pc already.. i tried to continue from where
i stopped.. by setting up the initial environment and entered all the previous symbolic links as stated in "5.4. GCC-4.1.2 - Pass 1" and "5.7 Adjusting the Toolchain". I did execute the "./configure.... " with the option as suggested by you and therefore it ends without error. However, i did encounter error when i executed the "make install". I didn't record the error message though. Does this mean i need to start from scratch again? Thanks. |
If you could post the error that would be great.
I don't think you would need to start over, just might what to check that you got all the links and directories setup correctly. |
FLLinux, thanks for your support.
Actually i re-do from scratch again, took about 2 days and just completed this afternoon. Fast bootup.. but still can't be of any use yet... And i need to sort out some minor issues before i could continue with the BLFS. |
All times are GMT -5. The time now is 07:31 AM. |