Announcement

Collapse
No announcement yet.

[resolved] Perl Audio Converter install incomplete

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [resolved] Perl Audio Converter install incomplete

    I'm very new to linux (lovable geek housemate is teaching me); I've just installed Perl Audio Converter v.3.1.2 (lots of mucking around). The final report of the install went like this:

    ---------------
    PAC - v3.1.2: Audio Modules

    MP3::Tag -> Installed
    Ogg::Vorbis::Header -> Not Installed
    Audio::FLAC::Header -> Not Installed
    MP4::Info -> Installed
    Audio::Musepack -> Installed
    Audio::WMA -> Installed
    CDDB_get -> Installed

    Done.
    ---------------

    Although I've tried to use PAC without the two modules that weren't installed, not surprisingly it didn't work. However the install of the Ogg::Vorbis::Header doesn't work either (haven't tried Audio::FLAC::Header yet because PAC hasn't thrown any other errors about it at me). I used the following command (more or less as per the readme; I'm not a programmer)
    >sudo perl -MCPAN -e 'install Ogg::Vorbis::Header'

    All seems to go well until the following:

    ---------------
    /bin/sh: cc: command not found
    make[1]: *** [Header.o] Error 127
    make[1]: Leaving directory `/home/$USERNAME/.cpan/build/Ogg-Vorbis-Header-0.03/_Inline/build/Ogg/Vorbis/Header'

    A problem was encountered while attempting to compile and install your Inline
    C code. The command that failed was:
    make

    The build directory was:
    /home/$USERNAME/.cpan/build/Ogg-Vorbis-Header-0.03/_Inline/build/Ogg/Vorbis/Header

    To debug the problem, cd to the build directory, and inspect the output files.

    at -e line 0
    INIT failed--call queue aborted.
    make: *** [Header.inl] Error 25
    /usr/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    ---------------

    Any ideas? I've been to the build directory, but I'm too n00bie to even know which ones are "output" files (if I had to guess, I'd say all of them. Either way, I've had a look, and I can't find anything that I can understand or that helps). I've already told CPAN where "make" is (in order to install PAC in the first place).

    And yes, I tried to use adept to get PAC, but it doesn't seem to know about it.

    Any help is appreciated...
    Thanks

    #2
    Re: Perl Audio Converter install incomplete

    make sure you have build-essential installed:
    Code:
    sudo apt-get install build-essential
    <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

    Comment


      #3
      Re: Perl Audio Converter install incomplete

      thanks -- have now done that; however fixed it already using
      Code:
      sudo perl -MCPAN -e 'install Ogg::Vorbis::Header'
      seems like my initial attempts to install Ogg::Vorbis::Header were not quite right.

      However, PAC is still not working: command is
      Code:
      sudo pac --ramtoogg --outdir=/home/$USERNAME/SHT --file=smile.ram
      and output is
      Perl Audio Converter (PAC) - v3.1.2

      Converting:
      smile.ram ->
      smile.ogg

      MPlayer 2:0.99+1.0pre7try2+cvs20060117-0ubuntu8 (C) 2000-2006 MPlayer Team
      CPU: Intel Pentium 4/Celeron 4 Northwood; Pentium 4 EE/Xeon Prestonia,Gallatin (Family: 15, Stepping: 7)
      CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
      Compiled with runtime CPU detection.


      91 audio & 204 video codecs
      Opening joystick device /dev/input/js0
      Can't open joystick device /dev/input/js0: No such file or directory
      Can't init input joystick
      Setting up LIRC support...
      mplayer: could not connect to socket
      mplayer: No such file or directory
      Failed to open LIRC support.
      You will not be able to use your remote control.
      Playing smile.ram.


      Exiting... (End of file)
      ERROR: Cannot open input file "smile.wav": No such file or directory

      Perl Audio Converter (PAC) - v3.1.2

      Completed Conversion of:

      smile.ram ->
      smile.ogg
      I don't care about my infrared or joystick atm, but as the "ERROR" indicates, conversion is _not_ complete. Or in any way evident. This is beyond me -- not verbose enough for me to fiddle? any thoughts before i ask the author?

      Thanks

      Comment


        #4
        Re: Perl Audio Converter install incomplete

        The reason that this hasn't been working _might_ be that the file I was trying to convert isn't really a proper .ram file...

        Comment

        Working...
        X