help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't seem to install misc package


From: Vincent
Subject: Re: can't seem to install misc package
Date: Wed, 13 Oct 2010 15:31:59 -0700 (PDT)

Thanks guys.
For completeness

I downloaded xcode from 
http://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.1__final/xcode_3.2.4_and_ios_sdk_4.1.dmg
 
and installed it (including the unix tools)

Then ran
pkg install miscellaneous-1.0.9.tar.gz
Which then produced warnings and errors, first line shown below
ld: warning: in
/Applications/Octave.app/Contents/Resources/bin/octave-3.2.3, file was built
for i386 which is not the architecture being linked (x86_64)

Then found article 
http://octave.1599824.n4.nabble.com/Install-Image-package-on-Mac-OS-X-td2551165.html
which said to add some lines in 
"/Applications/Octave.app/Contents/Resources/bin/mkoctfile"  a few replies
down. One small change was that in my case I had to modify the section below
rather than add the lines

Original text
# Invoke mkoctfile, preserving spaces in all the input arguments.
OCTAVE_HOME="${OCTAVE_HOME}" PATH="${PATH}" \
  DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" \
  CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
  CXXFLAGS="${CXXFLAGS}" FFLAGS="${FFLAGS}" LDFLAGS="${LDFLAGS}" \
  DL_LDFLAGS="${DL_LDFLAGS}" SED="$SED" MAGICK_HOME="${ROOT}" \
"${ROOT}/bin/mkoctfile-3.2.3" "$@"

Was modified to 
# Invoke mkoctfile, preserving spaces in all the input arguments.
OCTAVE_HOME="${OCTAVE_HOME}" PATH="${PATH}" \
  DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}" \
  CFLAGS="-m32 ${CFLAGS}" CPPFLAGS="-m32 ${CPPFLAGS}" \
  CXXFLAGS="-m32 ${CXXFLAGS}" FFLAGS="-m32 ${FFLAGS}" LDFLAGS="-m32
${LDFLAGS}" \
  DL_LDFLAGS="${DL_LDFLAGS}" SED="$SED" MAGICK_HOME="${ROOT}" \
"${ROOT}/bin/mkoctfile-3.2.3" "$@"

That is, just adding the '-m32' options to most of the flags.
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/can-t-seem-to-install-misc-package-tp2991176p2994542.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]