I was able to open the temporary script. Here is what is inside. I think I
highlighted the right line (which is, 7)

Thanks

#!/bin/bash -ev
export CPATH=/usr/X11R6/include:/sw/include
mkdir -p
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages
echo "pkg prefix
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages"
> tmp
echo "pkg global_list
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/octave_packages"
>> tmp
echo "pkg install *.tar.gz" >> tmp
for d in main extra nonfree; do cd $d; octave -q ../tmp; cd -; done
find
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages
-name CVS -exec rm -fR \{\} \; || :
perl -pi -e '$/="\n\n";s,(?<=length: )(\d+),$1 -
length("/sw/src/fink.build/root-octave-forge-20070821-1004"),e if
s,/sw/src/fink.build/root-octave-forge-20070821-1004,,;'
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/octave_packages
#perl -pi.bak -e 's,%i,%p,' %i/share/octave/octave_packages
mkdir -p
 /sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/doc/octave-forge
echo 'Cf docs in /sw/share/octave/packages/*/packinfo' >
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/doc/octave-forge/README




On Nov 7, 2007 2:06 PM, Alexander K. Hansen <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Isaiah Oloyede wrote:
> > Hello,
> >
> > For the past two days, I have tried endlessly to install octave-forge.
> >
> > I use a Mac OS X (10.4.10). I have octave installed without any
> > problem, but I have been getting the same error each time I tried to
> > install octave-forge (octave-forge-20070821-1004).
> >
> > I notice that it gives me this message all the time.
> > mkoctfile: stripping disabled on this platform
> That's normal.
> >
> > I also get the following message:
> >
> > panic: Segmentation fault -- stopping myself...
> > /var/tmp/tmp.2.YhppeF: line 7:  6914 Segmentation fault      octave -q
> ../tmp
> > ### execution of /var/tmp/tmp.2.YhppeF failed, exit code 139
> >
> > I tried to follow the instruction on this site with the expectation
> > that the issue will be resolved.
> > http://www.finkproject.org/faq/usage-fink.php?phpLang=en#seg-fault
> >
> > I realized that I don't even have "update-package-prebinding.pl -f" in
> > my  "/sw/var/lib/fink/prebound/ " so I could not "sudo
> > /sw/var/lib/fink/prebound/update-package-prebinding.pl -f
> >
> That's absolutely not applicable in your case (and the documentation
> needs to be updated) because prebinding went away for OS 10.4.
> > Please, I would appreciate all the help I can get.
> >
> > I am new to mac os x and the whole unix/linux flavors.
> >
> > Thanks.
> >
> > Isaiah
> >
> > PS: see the log below:
> >
> ...
> > mkoctfile: stripping disabled on this platform
> > panic: Segmentation fault -- stopping myself...
> > /var/tmp/tmp.2.YhppeF: line 7:  6914 Segmentation fault      octave -q
> ../tmp
> > ### execution of /var/tmp/tmp.2.YhppeF failed, exit code 139
> It worked for me.  The best thing I can think of to try is to look at
> /var/tmp/tmp.2.YhppeF and see what line 7 actually tries to do, so
> that we can narrow down what command is causing the segfault.  If that
> doesn't still exist, try another install, and note the name of the
> file (it's actually a temporary script) and the line number where the
> fault occurs--it's probably line 7.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHMgzNB8UpO3rKjQ8RAulIAJ9BdIWAst9L/VZFOULaEssbHabC2wCffSvq
> FcqhouTGA0Kl8AEG6cBsryc=
> =r0my
> -----END PGP SIGNATURE-----
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to