LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-13-2003, 09:04 PM   #1
Kilka
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Mandrake, Redhat, openBSD, Gentoo
Posts: 84

Rep: Reputation: 15
bash seg faults


Hey all,

I'm fairly new with openBSD and am trying to install bash. I've got ports and have 'make installed' in the bash dir. When I run bash it gives me a core dump. I don't know what to look for in the core file. Can anyone help me with this ?

-Kilka
 
Old 12-13-2003, 10:46 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
It almost sounds like you're trying to run the ELF version on the previous binary format of vis versa.

What version of OpenBSD and did you do cd /usr && cvs -q up -Pd ports before you built bash?
 
Old 12-14-2003, 02:21 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Ahh, I knew I saw this somewhere before. Try doing make install from /usr/ports/shells/bash2 as suggested in this thread on BSD forums

Also, make sure you cvs up your ports first.
 
Old 12-14-2003, 05:14 PM   #4
Kilka
Member
 
Registered: Sep 2003
Location: Canada
Distribution: Mandrake, Redhat, openBSD, Gentoo
Posts: 84

Original Poster
Rep: Reputation: 15
ports confusion

Thanks Chort, I appreciate the help.

I wasn't updating with cvs before when I was getting the fault. I've since done this:

tar -xvzf ports.tar.gz
cvs -d anoncvs@anoncvs1.ca.openbsd.org:/cvs update -r OPENBSD_3_4 -dP

but to no avail.
I get alot of cvs comments about the "Makefile is no longer in the repository". It systematically gets rid of every make file. Maybe i've just got the wrong dir or something.

Thanks again,
-Kilka
 
Old 12-15-2003, 01:40 AM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Did you make sure you were in /usr/ports when you executed the above command? Try reading this section of the OpenBSD site (if you haven't already) http://www.openbsd.org/anoncvs.html

Your command looks right, the only thing I can think of is that you were in the wrong directory. Also, how did you install? the OPENBSD_3_4 tag is for "stable" which is -RELEASE + all patches (up to 8 now I think). If you installed from a snapshot then you want to work with -CURRENT which has no tag (drop the whole -r bit).
 
  


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
GCC seg faults benne Linux - Software 5 09-05-2005 01:09 AM
getopt_long seg faults!! help plz Thinking Programming 1 07-26-2005 01:12 PM
Repeated seg faults Tick Linux - General 5 07-29-2004 07:09 PM
seg faults happening allan_y Linux - General 2 07-25-2004 05:30 AM
w3m seg faults slakmagik Linux - Software 0 05-04-2003 10:58 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:12 PM.

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