Sponsored Content
Operating Systems OS X (Apple) First time Compileing ARSS on G3 hardware Post 302314432 by orionrush on Friday 8th of May 2009 09:53:04 AM
Old 05-08-2009
MySQL ARSS Compileing issues, OS X

I have slayed my own dragon(s) -- of my own making.

If you have read my other posts on this you know. If not here is my solution and learning process for compileing ARSS on a G3 mac.

In the beginning my approach was wrong. The developer noted that there was a mac compile string on the ARSS website which uses gcc not cmake. In my defense I didn't think to look in the news section on the main page - but the site isn't that large, so if I had, I could have saved myself a day or so of stress.

Here are the steps that I went through:
I have to note that, it is possible, even probable that I have done something that is technically incorrect. I'm just starting into all this stuff so please feel free to point out any shortcomings or refinements. I have not listed exact steppes for compile etc. But I have found this general primer to be useful.

ARSS The Analysis & Resynthesis Sound Spectrograph

On my older hardware (a G3 500mhz icebook, 10.4.11) I received the following errors useing the provided mac binarys.

Code:
 dyld: incompatible cpu-subtype
Trace/BPT trap

I first removed the non working version:

Code:
Machine$ whereis arss 
Machine$ /usr/local/bin/arss 
Machine$ sudo rm /usr/local/bin/arss

In the ARSS site I read:
Quote:
The source, which can be compiled for any platform for which FFTW 3.x is available.
However I had no joy using the macports distro of FFTW3, which FFTW promotes, and was never able to get ARSS to compile as it couldn't find fftw3.h. (see note below)

So I downloaded the source for FFTW3 and followed their instructions for compiling on a mac FFTW Installation on the MacOS.

I unpacked and compiled FFTW3 into /usr/local/

I then downloaded the ARSS source from the website and unpacked it and installed it into /bin/

compile using:
Code:
cd /bin/
sudo tar -xzvf arss-0.2.3-src.tar.gz
cd /bin/arss-0.2.3-src/src
sudo gcc *.c -o  /bin/arss -lm -lfftw3 -O2


Presto, kabam, golly-gee-whiz, it works. Smilie

Notes:
Now Im not sure if there is something else I should be doing or if /bin/ is technically the correct place to install this. I'm all sorts of confused about how and where things *should* be installed.

According to an email from the author, Michel Rouzic:
Quote:
If it fails to locate fftw3.h, locate it, then add the path to the aforementioned command using the -I argument.
This is the part that I could never get to work using the macports distribution of FFTW-3 (fink would never update correctly on this machine and didn't list FFTW as a possible port). No matter what I did (using cmake or gcc) I would get an error stating that it couldn't find fftw3.h.

using gcc I tried using various manifestations of -l but could never tell if I was doing some noob error in keying it in, or if it was the same old problem.

Using cmake I tried updating CMake files to reflect the macports location under /opt/. I even created symbolic links to the fftw3.h locations along paths listed in the cmake file. cmake may not have compiled it correctly but, in my understanding, it should have at least found the header files.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How To Provide Time Sync Using Nts-150 Time Server On Unix Network?

can anybody tel lme,how to instal NTS -150 on a unix network,it needs some patch to fetch time frm serve,,?? (2 Replies)
Discussion started by: pesty
2 Replies

2. Solaris

Hardware

Hi, I'm looking to run Sun Solaris 8 or 9, but have been running windows :mad: .can anyone give me advice about the hardware needed for solaris and possably any software i may need, the type of model and where i may be able to buy these within the uk. :confused: ... (3 Replies)
Discussion started by: franz
3 Replies

3. Red Hat

Problem with compileing CUPS

Hi guys, I'm trying to install a newer version of CUPS and my compilation fails: # ./configure checking for gawk... gawk checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling...... (4 Replies)
Discussion started by: eliraza6
4 Replies

4. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies

5. Solaris

Hardware faulty, but which hardware?

Hi folk, I have this hardware faunty message, but dont know which hardware is this ? can you guide me ? --------------- ------------------------------------ -------------- --------- TIME EVENT-ID MSG-ID SEVERITY ---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies

6. Solaris

modifying date and time and time zone on solaris 5.10 with (redundant server) veritas

I have a cluster of two Solaris server (veritas cluster). one working and the other is standby I am going to change the date on them , and am looking for a secure solution as it is giving an important service. my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies

7. Shell Programming and Scripting

Convert UTC time into current UNIX sever time zone

Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone. For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies

8. Programming

Find gaps in time data and replace missing time value and column 2 value by interpolation in awk

Dear all, I am kindly seeking assistance on the following issue. I am working with data that is sampled every 0.05 hours (that is 3 minutes intervals) here is a sample data from the file 5.00000 15.5030 5.05000 15.6680 5.10000 16.0100 5.15000 16.3450 5.20000 16.7120 5.25000... (4 Replies)
Discussion started by: malandisa
4 Replies

9. Shell Programming and Scripting

Calculate Time diff in milli milliseconds(Time format : HH:MM:SS,NNN)

Hi All, I have one file which contains time for request and response. I want to calculate time difference in milliseconds for each line. This file can contain 10K lines. Sample file with 4 lines. for first line. Request Time: 15:23:45,255 Response Time: 15:23:45,258 Time diff... (6 Replies)
Discussion started by: Raza Ali
6 Replies
All times are GMT -4. The time now is 11:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy