discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Re: Intel Mac GNU Radio Install Update Soon


From: Thomas Schmid
Subject: Re: [Discuss-gnuradio] Re: Intel Mac GNU Radio Install Update Soon
Date: Sat, 29 Jul 2006 18:41:04 +0200

Hi Michael,

Thanks a lot for writing that install guide for Mac OS X. It works
great. Here some updates on my experience with it on a Macbook 2GHz
with XCode 2.3:

- The USRP section is outdated. You don't need to download it
seperatly since the checkout script has been changed.
- Since the new Macbooks have dual core, one can add a -j2 to each
make command. That will speed up compilation because it creates two
gcc instances at a time.
- I converted the tcsh scripts to bash. Here is what I have in my
.profile. This assumes that you use darwinports:

export LDFLAGS="-L/opt/local/lib ${LDFLAGS}"
export PATH=/opt/local/bin:${PATH}
export MANPATH=/opt/local/share/man:${MANPATH}
export INFOPATH=/opt/local/share/info:${INFOPATH}
export CPATH=/opt/local/include:${CPATH}
export 
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}

p_v_f=`python -V 2>&1 | sed -e 'address@hidden @@g' | sed -e 'address@hidden@ 
@2' |
awk '{print $1}'`
export PYTHON_VERSION=$p_v_f
export PYTHON_ROOT=`which python | sed -e 's@/bin/python@@g'`
export PYTHONPATH=${PYTHON_ROOT}/lib/python${PYTHON_VERSION}/site-packages
if [ ${PYTHON_ROOT} != "/usr/include" ]; then
   export 
PYTHONPATH=${PYTHONPATH}:/usr/local/lib/python${PYTHON_VERSION}/site-packages
fi


Could that howto install script maybe be moved into the wiki, once the
new wiki system is up and running?

Thomas

On 6/1/06, Michael Dickens <address@hidden> wrote:
Dave - You can do all of the background install using DarwinPorts,
but, as you found out, FFTW has some issues.  The problem is not in
optimization, but rather in the way Apple has tweaked GCC's use of
"pentium-pro" for the architecture.  Most files compile just fine but
a few (4-5) need this option removed for correct compilation (with
optimization -03 still on, which is good).

I have submitted patches to Eric to fix the .align issue - some
compilers define that number in log2 while others use linear.  I'd be
happy to ship you my diff's if you have time to try them out.

As of 1 week ago, there were no issues with gnuradio-core other than
the .align and a .global issue in the same .S files in gnuradio-core/
src/lib/filter .  Everything compiled and installed correctly on a
MacBook Pro.  Admittedly, Apple has released XCode 2.3 since then, so
if you're using that version there might be an issue.  We haven't
finished testing under XCode 2.3 yet, maybe due to lack of time.

Permissions are generally a local-computer issue, not one of how they
are stored in the CVS or SVN repository.

I'd be willing to bet that the compile issue is some combination of
your shell environment and LIBTOOL not working together.  -Unless-
it's XCode 2.3, then it's most likely not a Mac-Intel issue.

I have updated my install guide < http://www.nd.edu/~mdickens/
GNURadio/ > to include the latest changes for FFTW to compile using
DarwinPorts on an Intel-Mac.

I'm happy to help you debug your compile issue, probably off-list is
best. - MLD


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio





reply via email to

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