Thanks a lot for your help. I am makig progress.
I have run it. I noticed that it is look for a particular folder that does
not exist.
find:
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages/vrml-
1.0.2/data/CVS
CVS does not exist, every other directory exists in that path except CVS.
What can I do? I guess this must be through for the other packages as well.
Because the temporary scripts keep changing after removing the -q flag after
each run.
Isaiah
find
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages
-name CVS -exec rm -fR \{\} \; || :
find:
/sw/src/fink.build/root-octave-forge-20070821-1004/sw/share/octave/packages/vrml-
1.0.2/data/CVS: No such file or directory
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 8, 2007 7:02 AM, Alexander Hansen <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Oops. I forgot that part. You'll need to "cd" to the source directory
>
> cd /sw/src/fink.build/octave-forge-20070821-1004/octave-forge-20070821
>
> (or whatever it is) first.
>
>
> Isaiah Oloyede wrote:
> > 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]
> > <mailto:[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] <mailto:[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] <mailto:[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]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> > 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]>
> >> <mailto: [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.
>
> - --
> Alexander K. Hansen
> akh AT finkproject DOT org
> Fink User Liaison and Documenter
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHMvrZB8UpO3rKjQ8RAjOGAKCCaKtgSnMfmes81i91q4HW+LRHZgCfToPm
> XdX3rxij8RpMZZgdzEzr2L8=
> =uAMB
> -----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