DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th May 2009
zazen zazen is offline
Port Guard
 
Join Date: Feb 2009
Posts: 12
Default 001_openssl.patch; unable to make depend

hello all,

Like the title says; I'm having difficulty applying this patch.

Well not exactly the patch itself but one of the make commands.
I followed the instructions: cd /usr/src -> patch -p0 < 001_openssl.patch -> cd lib/libssl -> make obj -> make depend -> make includes -> make -> make install -> cd ../../sbin -> make obj -> make depend /*Here it errors out by saying "MAKE: DON'T KNOW HOW TO MAKE EXT2FS.C. STOP IN /USR/SRC/SBIN/FSCK_EXT2FS. ***ERROR CODE 2 STOP IN /USR/SRC/SBIN (LINE 48 OF /USR/SHARE/MK/BSD.SUBDIR..MK)."

Any help would be greately appreciated.
Reply With Quote
  #2   (View Single Post)  
Old 8th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

It "sounds" like a problem with the source tree.

But ... the error message seems a little wierd. It looks like you hand typed it. Why? Because those sort of error messages, to my recollection, are not sent in upper case characters. And, to the best of my recollection, there is no file in the tree called "ext2fs.c", though there is a mount_ext2fs.c, and any number of ext2fs_<whatever> files in the kernel source.

You might want to double check you are actually using the 4.5-release source. If you used CVS, the "Tag" for 4.5-release is OPENBSD_4_5_BASE. If instead, you downloaded a tar ball, double check you acquired 4.5-release, and, that you downloaded and extracted the kernel (/usr/src/sys) source as well as userland. In this case, a dependency may require kernel source (such as one or more of the ext2fs_<whatever> files from /usr/src/sys/ufs/ext2fs) that might be missing.

Next time, to make sure you have the exact error message, all you need do is use script(1). In concert with col(1), you can get a saved copy of anything typed in or displayed in an interactive shell.
Reply With Quote
  #3   (View Single Post)  
Old 8th May 2009
zazen zazen is offline
Port Guard
 
Join Date: Feb 2009
Posts: 12
Default

That was fast!

Quote:
why?
Because I didn't know about script(1) and col(1) Thanks for that as well.

I was not aware of the fact that I also needed the sys package.
Installing the kernel source solved the problem.

Thank you for your help.
Z.
Reply With Quote
  #4   (View Single Post)  
Old 8th May 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Glad you got it working!
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
FreeBSD 7.2 X Server 1.6 Patch dialeight FreeBSD Installation and Upgrading 1 4th August 2009 04:25 PM
New Kernel: "make depend" doesn't work nihonto NetBSD General 9 23rd January 2009 09:02 PM
Unable to make install on Subversion port Fuitad FreeBSD Ports and Packages 2 28th July 2008 04:49 PM
problem applying patch sam-i-am OpenBSD General 4 25th July 2008 12:54 AM
PATCH errors during portupgrade shinjii FreeBSD Installation and Upgrading 4 23rd June 2008 02:47 AM


All times are GMT. The time now is 06:08 AM.


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