Who can help compile code for Mac?

Discussion in 'Mac Programming' started by MrVegas, Jun 4, 2005.

  1. MrVegas macrumors regular

    Joined:
    Jun 4, 2005
    Location:
    Columbia, Md.
  2. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #2
    I'm not actually sure what you're asking. When bands release free MP3s on their sites, surely they check them before uploading! So what's the use of that app? (I haven't looked at the site yet).
     
  3. James Philp macrumors 65816

    James Philp

    Joined:
    Mar 5, 2005
    Location:
    Oxford/London
    #3
    I could see a use for it with illegal downloads... :mad:
     
  4. superbovine macrumors 68030

    superbovine

    Joined:
    Nov 7, 2003
    #4
    http://www.rentacoder.com
     
  5. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #5
    It seems to be written in Ruby (which is a bit non-standard on the Mac to say the least). On the upside Ruby is a scripting language (a bit like Perl) so just downloading Ruby for OSX and the source should be pretty much all there is to it. Whilst it will probably compile the code it will be done at runtime so you don't need anyone to compile it for you. If I have time later (i.e. tomorrow) I'll have a look at this and post some step-by-step instructions.
     
  6. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #6
    It cannot be! Our members would never do a thing like that! :eek:
     
  7. MrVegas thread starter macrumors regular

    Joined:
    Jun 4, 2005
    Location:
    Columbia, Md.
    #7
    That would be great! Thanks.
     
  8. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #8
    This all assumes you are on 10.4 (as that's what I'm running).

    Ruby is already installed by default (which is nice). You can confirm this by opening the Terminal and typing:

    Code:
    which ruby
    All being well you should get

    Code:
    /usr/bin/ruby
    If you don't get this back then try installing the developer tools as ruby might just be installed with them.

    Download the source rar file (and if your Safari is like mine remove the .txt extension it adds). Use Stufit to extract the code.

    Then try and run the code. At this point I cannot get going. I don't know much about ruby but it seems to be trying to load a shared library (digest/crc32_in_c) included in the "source" and can't, probably because the library is compiled for Windows/x86. Source should be just that, the source code, not source code and binary files mixed.

    Anyone else got any ideas?
     
  9. Omen88 macrumors regular

    Omen88

    Joined:
    Jan 8, 2002
    Location:
    Flanders (Belgium)
    #9
    yup the files in the digest folder are .so, which means they have already been compiled. An idea would be to ask the programmer for the source of these files.

    And the previous poster is right, sourcecode should be sourcecode and nothing else.
     
  10. MrVegas thread starter macrumors regular

    Joined:
    Jun 4, 2005
    Location:
    Columbia, Md.
    #10
    I doubt if I can get ahold of the programmer for the source of the .so files. :(
     
  11. Omen88 macrumors regular

    Omen88

    Joined:
    Jan 8, 2002
    Location:
    Flanders (Belgium)
    #11
    Can't do anything wrong with trying. If he's prepared to put the source online of his application, he wouldn't mind sharing the source for digest files which are CRC32, MD5 and SHA1 checksum algorithms. He surely didn't write that himself, as they are very common.
     
  12. s0nspark macrumors newbie

    s0nspark

    Joined:
    Mar 6, 2007
    Location:
    US
    #12
    Okay, I know this is a little late coming :) I have been interested for some time with the idea of porting AQScript to the Mac and Linux. I have begun workj on a port, the first step of which was stripping out any code that was pulled from the ruby standard lib (which is distributed with ruby itself) and identifying any 3rd-party code that was integrated ... The CRC32 extension is one such piece of code - it was not written as part of AQScript itself (which I suppose is why the c source was not included) - and I have sent the original CRC32 author an email requesting the source.

    In any case, my plan is to generalize AQScript by removing the stuff that is overly specific to Ubernet (their standard is a bit too draconian for my taste, although they mean well) to where it would be useful as a general purpose mp3 verification tool. If I cannot get the CRC32 source I'll simply replace it with another lib... I intend to do some code cleanup as well - the AQScript code is a bit crufty in places and although some may not mind just throwing code like that into public view I am a bit more conscientious :)

    I plan to release version for Windows, Mac, and Linux once it is complete. If you have any questions or suggestions feel free to contact me...

    s0nspark <at> gmail <dot> com
     

Share This Page