I notice that I get the following message when I ran the temporary script
manually. Any ideas on what I can do to resolve the problem...

r253136087:/var/tmp isaiah$ sudo ./tmp.2.F1cGTb
#!/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 -v ../tmp; cd -; done
./tmp.2.F1cGTb: line 7: cd: main: No such file or directory





On Nov 7, 2007 11:16 PM, Isaiah Oloyede <[EMAIL PROTECTED]> wrote:

> I have tried your suggestions. I opened the temporary script where the
> error comes from, and remove the -q option, and I have done this on many
> occasions, and re-run. once I tried to reinstall, another temporary script
> comes up with the same segmentation fault error.
>
> I have even removed octave and rebuilt octave, still no progress.
>
> /var/tmp/tmp.1.CojfQa
> #!/bin/sh -ev
>   cd main
>   tar -zxf optiminterp-0.2.3.tar.gz
>   rm optiminterp-0.2.3.tar.gz
>   # the underscore turns F77_FUNC in disarray, and if using F77_FUNC_
> instead,
>   # there are other occurences of the symbol that would need an appended
> underscore..
>   perl -pi -e 's,optiminterp_wrapper,optiminterpwrapper,;
> s,OPTIMINTERP_WRAPPER,OPTIMINTERPWRAPPER,' optiminterp-0.2.3
> /src/optiminterp*
>   tar -zcf optiminterp-0.2.3.tar.gz optiminterp-0.2.3
>   rm -fR optiminterp-0.2.3
>   # "Ginac library or headers not found" _ skip this
>   rm symbolic-*
>   cd -
>   rm extra/{java,jhandles,xraylib}-* nonfree/arpack-*
> echo ''
>
> /bin/rm -rf /sw/src/fink.build/root-octave-forge-20070821-1004
> /bin/mkdir -p /sw/src/fink.build/root-octave-forge-20070821-1004/sw
> /bin/mkdir -p /sw/src/fink.build/root-octave-forge-20070821-1004/DEBIAN
> /usr/sbin/chown -R root:admin
> /sw/src/fink.build/root-octave-forge-20070821-1004
> /var/tmp/tmp.2.IJsGNs
> #!/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
> ans =
> /sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> In file included from /sw/include/jpeglib.h:28,
>                  from jpgwrite.cc:18:
> /sw/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
> In file included from /sw/include/octave-2.9.14/octave/oct.h:32,
>                  from jpgwrite.cc:11:
> /sw/include/octave-2.9.14/octave/config.h:564:1: warning: this is the
> location of the previous definition
> In file included from /sw/include/jpeglib.h:28,
>                  from jpgread.cc:49:
> /sw/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
> In file included from /sw/include/octave-2.9.14/octave/oct.h:32,
>                  from jpgread.cc:41:
> /sw/include/octave-2.9.14/octave/config.h:564:1: warning: this is the
> location of the previous definition
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> mkoctfile: stripping disabled on this platform
> panic: Segmentation fault -- stopping myself...
> /var/tmp/tmp.2.IJsGNs: line 7: 10089 Segmentation fault      octave -q
> ../tmp
> ### execution of /var/tmp/tmp.2.IJsGNs failed, exit code 139
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-octave-forge-20070821-1004
> (Reading database ... 61985 files and directories currently installed.)
> Removing fink-buildlock-octave-forge-20070821-1004 ...
> Failed: phase installing: octave-forge-20070821-1004 failed
>
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink-users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
>
>         Corey Halpin <[EMAIL PROTECTED]>
>
> Note that this is preferable to emailing the maintainer directly, since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
>
>
> r253136087:~ isaiah$ fink install octave
> Password:
> Information about 6606 packages read in 1 seconds.
> No packages to install.
> r253136087:~ isaiah$ octave
> GNU Octave, version 2.9.14
> Copyright (C) 2007 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
> FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.
>
> Octave was configured for "i386-apple-darwin".
>
> Additional information about Octave is available at http://www.octave.org.
>
> Please contribute if you find this software useful.
> For more information, visit http://www.octave.org/help-wanted.html
>
> Report bugs to <[EMAIL PROTECTED]> (but first, please read
> http://www.octave.org/bugs.html to learn how to write a helpful report).
>
> For information about changes from previous versions, type `news'.
>
>
>
> On Nov 7, 2007 2:44 PM, Alexander K. Hansen <[EMAIL PROTECTED]> wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > I was afraid that was probably the line.  So what is happening is that
> > an individual package from octave-forge is causing the problem, but
> > it's not obvious which one it is because the output is suppressed
> > (from the "octave -q" command).
> >
> > One thing you could do is edit this script and remove the "-q"
> > argument for octave on line 7, so you get all of the output.  You can
> > then try to run the script manually:
> >
> > sudo ./var/tmp/tmp.2.YhppeF
> >
> > Isaiah Oloyede wrote:
> > > 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]
> > > <mailto:[EMAIL PROTECTED] >> wrote: 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
> >
> > iD8DBQFHMhWuB8UpO3rKjQ8RArUzAJ9scU5H0IfZDQ0ZBZI8SqGnBrr/agCggnGB
> > CS6HGEZwUuPyKLqtQpheCvo=
> > =VH91
> > -----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