LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 05-13-2017, 08:38 AM   #1
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Rep: Reputation: 12
NSPR-4.13.1 shows configuration errors


I am trying to build NSPR-4.13.1 in 'Beyond Linux^(R) From Scratch - Version 8.0' and am getting the following configuration errors:


Code:
.
.
Install NSPR by running the following commands:

/sources/nspr-4.13.1 ]$  cd nspr &&                                                                                                                                                    
>  sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&                                                                                                                                                    
>  sed -i 's#$(LIBRARY) ##' config/rules.mk                    &&                                                                                                                                                    
>                                                                                                                                                                                                                    
>  ./configure --prefix=/usr \                                                                                                                                                                                       
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:  
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./build/autoconf/config.sub   failed
/sources/nspr-4.13.1/nspr ]$              --with-mozilla \                                                                                                                                                                                      
bash: --with-mozilla: command not found
/sources/nspr-4.13.1/nspr ]$              --with-pthreads \                                                                                                                                                                                     
bash: --with-pthreads: command not found
/sources/nspr-4.13.1/nspr ]$              $([ $(uname -m) = x86_64 ] && echo --enable-64bit) && make
bash: --enable-64bit: command not found
/sources/nspr-4.13.1/nspr ]$


Any help would be appreciated.

percy
 
Old 05-13-2017, 06:05 PM   #2
Terry Coats
Member
 
Registered: Mar 2017
Posts: 122

Rep: Reputation: 54
Your copy and paste is being broken up. Try putting it all on one line instead:

./configure --prefix=/usr --with-mozilla --with-pthreads $([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
make
 
Old 05-14-2017, 07:27 AM   #3
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
Terry Coats

Thanks for that never been caught on that before.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sbopkg shows md5 checksum errors -- slackware64 14.2 stable sinar.kk Slackware 1 07-15-2016 04:58 AM
[SOLVED] dmesg shows ATA errors at boot, Slackware 14 D1ver Slackware 2 08-13-2012 02:49 AM
fsck shows thousands of group descriptor errors on ext4 volume. abejarano Linux - General 0 04-21-2011 01:42 AM
NSPR Error redhat_newbie Linux - Newbie 2 12-16-2009 09:09 AM
mozilla-nspr-4.6.4 @er<> Mandriva 1 11-29-2006 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration