DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Package System (pkgsrc)

NetBSD Package System (pkgsrc) Installation and upgrading of packages on NetBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th October 2009
J05HYYY J05HYYY is offline
New User
 
Join Date: Oct 2009
Posts: 6
Thanked 0 Times in 0 Posts
Default bmake: don't know how to make install. Stop

I figured I'd create another thread, for a new problem.

I'm now getting this when running the bootstrap:
Code:
===> Installing packages
===> running: (cd /home/J05HYYY/Desktop/PhatFTP/pkgtools/bootstrap-mk-files && /home/J05HYYY/Desktop/PhatFTP/bootstrap/work/bin/bmake  -DPKG_PRESERVE MAKECONF=/home/J05HYYY/Desktop/PhatFTP/bootstrap/work/mk.conf install)
bmake: don't know how to make install. Stop

bmake: stopped in /home/J05HYYY/Desktop/PhatFTP/pkgtools/bootstrap-mk-files
===> exited with status 2
aborted.
Reply With Quote
  #2   (View Single Post)  
Old 8th October 2009
J05HYYY J05HYYY is offline
New User
 
Join Date: Oct 2009
Posts: 6
Thanked 0 Times in 0 Posts
Default

I realised I had to download the whole bootstrap-mk-files directory rather than bootstrap-mk-files/files .

Now getting this error:

Code:
===> Installing for bootstrap-mk-files-20090807
=> Creating installation directories
cd /home/J05HYYY/Desktop/PhatFTP/bootstrap/work/wrk/pkgtools/bootstrap-mk-files/work/bootstrap-mk-files-20090807 && for file in bsd.* sys.mk; do			 /usr/bin/install -c -o root -g root -m 444 $file /usr/pkg/share/mk/$file;	 done
=> Automatic manual page handling
=> Registering installation for bootstrap-mk-files-20090807
Segmentation fault
*** Error code 139

Stop.
bmake: stopped in /home/J05HYYY/Desktop/PhatFTP/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /home/J05HYYY/Desktop/PhatFTP/pkgtools/bootstrap-mk-files
*** Error code 1

Stop.
bmake: stopped in /home/J05HYYY/Desktop/PhatFTP/pkgtools/bootstrap-mk-files
===> exited with status 1
aborted.
Reply With Quote
  #3   (View Single Post)  
Old 8th October 2009
Tom Tom is offline
Port Guard
 
Join Date: Aug 2008
Location: Poland
Posts: 22
Thanked 0 Times in 0 Posts
Default

Hi,

I assume You are trying to use pkgsrc on diffrent OS then NetBSD so this is link You should check:
http://www.netbsd.org/docs/pkgsrc/pl...rapping-pkgsrc

Basically You have to get pkgsrc tree, and then run bootstrap from pkgsrc/bootstrap directory.
How to get pkgsrc:
http://www.netbsd.org/docs/pkgsrc/ge...#getting-first

Don't know about the details becouse I had never used pkgsrc before on other OS then NetBSD.

Best Regards,
Tom
Reply With Quote
  #4   (View Single Post)  
Old 9th October 2009
J05HYYY J05HYYY is offline
New User
 
Join Date: Oct 2009
Posts: 6
Thanked 0 Times in 0 Posts
Default

Yes, I'm trying to use it on linux at the moment.

I went on one of the IRC channels and someone said I should pose my question to the pkgsrc-users mailing list, so this is what I will do.
Reply With Quote
  #5   (View Single Post)  
Old 9th October 2009
J05HYYY J05HYYY is offline
New User
 
Join Date: Oct 2009
Posts: 6
Thanked 0 Times in 0 Posts
Default I emailed the mailing list

and they said the pkg_install files had been updated via cvs yesterday to correct the error.
now Im getting this:

Code:
===> Installing for bmake-20090909
=> Creating installation directories
/usr/bin/install -c -s -o root -g root -m 555 /home/joshua/Desktop/PhatFTP/bootstrap/work/wrk/devel/bmake/work/Linux/bmake /usr/pkg/bin
/usr/bin/install -c -o root -g root -m 444 /home/joshua/Desktop/PhatFTP/bootstrap/work/wrk/devel/bmake/work/bmake/bmake.1 /usr/pkg/man/man1
=> Automatic manual page handling
=> Registering installation for bmake-20090909
bmake-20090909 requires installed package bootstrap-mk-files-20090807
===> running: (cd /home/joshua/Desktop/PhatFTP/pkgtools/pkg_install && /home/joshua/Desktop/PhatFTP/bootstrap/work/bin/bmake  -DPKG_PRESERVE MAKECONF=/home/joshua/Desktop/PhatFTP/bootstrap/work/mk.conf install)
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 90: Could not find ../../archivers/bzip2/builtin.mk
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 91: Could not find ../../archivers/libarchive/builtin.mk
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 92: Could not find ../../devel/zlib/builtin.mk
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 93: Could not find ../../security/openssl/builtin.mk
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 95: Malformed conditional (!empty(USE_BUILTIN.openssl:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 102: Malformed conditional (empty(USE_BUILTIN.bzip2:M[yY][eE][sS]) ||  empty(USE_BUILTIN.zlib:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 111: Malformed conditional (empty(USE_BUILTIN.bzip2:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 115: Malformed conditional (empty(USE_BUILTIN.zlib:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 119: Malformed conditional (empty(USE_BUILTIN.libarchive:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 128: Malformed conditional (empty(USE_BUILTIN.bzip2:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 131: Malformed conditional (empty(USE_BUILTIN.zlib:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 134: Malformed conditional (empty(USE_BUILTIN.libarchive:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 140: Malformed conditional (empty(USE_BUILTIN.bzip2:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 143: Malformed conditional (empty(USE_BUILTIN.zlib:M[yY][eE][sS]))
bmake: "/home/joshua/Desktop/PhatFTP/pkgtools/pkg_install/Makefile" line 146: Malformed conditional (empty(USE_BUILTIN.libarchive:M[yY][eE][sS]))
bmake: Fatal errors encountered -- cannot continue

bmake: stopped in /home/joshua/Desktop/PhatFTP/pkgtools/pkg_install
===> exited with status 1
aborted.

Last edited by Carpetsmoker; 9th October 2009 at 08:53 PM. Reason: Added [code] tags for system output
Reply With Quote
  #6   (View Single Post)  
Old 10th October 2009
AngelescuO AngelescuO is offline
New User
 
Join Date: Oct 2009
Posts: 1
Thanked 0 Times in 0 Posts
Default

Hi,

1) What linux do you use.
2) I have discovered that before doing bootstrap openssl from base system must be removed if you use custom paths for pkgsrc.
To be safest install all pkgsrc tree in /usr/pkgsrc .
3) Be sure to download all pkgsrc tree ( better is to download the tarrball and unpack it to /usr.

Best wishes
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opera Port - conflicting pkgs in "make install" IronForge OpenBSD Packages and Ports 5 29th October 2009 05:10 AM
error code 1 whie make install gnome mtm0 NetBSD General 3 4th September 2009 11:56 AM
KDE3 install stop error delboy FreeBSD Ports and Packages 2 20th November 2008 10:02 AM
Unable to make install on Subversion port Fuitad FreeBSD Ports and Packages 2 28th July 2008 04:49 PM
slimserver make install *** Error code 1 alan79 FreeBSD Ports and Packages 15 28th May 2008 12:35 PM


All times are GMT. The time now is 01:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick