> I'm running Fedora 10, Ecasound and Ecasound
Development files
> 1:2.6.0-1.fc10.ccrma from the PlanetCCRMA repositories.
>
Tk is looking for some X headers in order to compile
some C code, possibly from this RPM.
xorg-x11-proto-devel -- X.Org X11 Protocol headers
As Julien points out, it might be easier to install
Tk directly through a Fedora RPM.
Tk 1:8.5.3-5.fc10 was installed. The Tk-development package was not.
I installed it and it brought in xorg-x11-proto-devel 7.4-5.fc10 .
So far so good.
Simply because I saw it, I also installed perl-Tk 804.028-f.fc9. Did
I need to install this package?
I deleted the .cpan directories in user and root and tried again as
superuser.
Then I got this:
-----
checking for gcc... gcc
checking whether the C compiler (gcc -D_REENTRANT -D_GNU_SOURCE
-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -fPIC
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -L/usr/local/lib) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
-----
I like that "works... no" line. Made me smile.
The make file actually continued on before stopping at the point I
mentioned last time. Obviously I didn't have your updated Makefile.PL
yet.
Okay. So I installed gcc 4.3.2-7 and gcc-c++ 4.3.2-7. (I stopped
doing my own compiles a couple of years ago. It might be best not to
assume every user will have gcc ready to compile with.)
Oops! I forgot to include the Makefile.PL. I've
uploaded
another version 0.9971. It might be a couple of hours till
it is indexed and available to install.
Please have another go.
Here's the result of the latest go with gcc and kernel-headers now
installed. I suspect I tried to soon and don't have your Makefile.PL yet.
----------
[root@serenity sms]# cpan Tk Time::HiRes Audio::Ecasound::Multitrack
CPAN: Storable loaded ok (v2.18)
CPAN: LWP::UserAgent loaded ok (v5.823)
CPAN: Time::HiRes loaded ok (v1.9719)
I would like to connect to one of the following sites to get
'authors/01mailrc.txt.gz':
http://www.perl.org/CPAN/
ftp://ftp.perl.org/pub/CPAN/
Is it OK to try to connect to the Internet? [yes]
Fetching with LWP:
http://www.perl.org/CPAN/authors/01mailrc.txt.gz
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
............................................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Sun, 17 May 2009 22:26:57 GMT
............................................................................DONE
Fetching with LWP:
http://www.perl.org/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Going to write /root/.cpan/Metadata
Tk is up to date (804.028).
Time::HiRes is up to date (1.9719).
Running install for module 'Audio::Ecasound::Multitrack'
Running make for G/GA/GANGLION/Audio-Ecasound-Multitrack-0.997.tar.gz
Fetching with LWP:
http://www.perl.org/CPAN/authors/id/G/GA/GANGLION/Audio-Ecasound-Multitrack…
CPAN: checksum security checks disabled because Digest::SHA not
installed.
Please consider installing the Digest::SHA module.
Audio-Ecasound-Multitrack-0.997/
Audio-Ecasound-Multitrack-0.997/README
Audio-Ecasound-Multitrack-0.997/inc/
Audio-Ecasound-Multitrack-0.997/inc/Module/
Audio-Ecasound-Multitrack-0.997/inc/Module/Install.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/Win32.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/WriteAll.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/Base.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/Can.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/Metadata.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/Scripts.pm
Audio-Ecasound-Multitrack-0.997/inc/Module/Install/Fetch.pm
Audio-Ecasound-Multitrack-0.997/script/
Audio-Ecasound-Multitrack-0.997/script/nama
Audio-Ecasound-Multitrack-0.997/t/
Audio-Ecasound-Multitrack-0.997/t/04_object.t
Audio-Ecasound-Multitrack-0.997/t/02_assign.t
Audio-Ecasound-Multitrack-0.997/t/12_nama.t
Audio-Ecasound-Multitrack-0.997/t/11_mark.t
Audio-Ecasound-Multitrack-0.997/t/03_wav.t
Audio-Ecasound-Multitrack-0.997/lib/
Audio-Ecasound-Multitrack-0.997/lib/Audio/
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Mark.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Object.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Iam.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Assign.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Wav.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Bus.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Track.pm
Audio-Ecasound-Multitrack-0.997/lib/Audio/Ecasound/Multitrack/Tkeca_effects.pm
Audio-Ecasound-Multitrack-0.997/META.yml
Audio-Ecasound-Multitrack-0.997/COPYING
Audio-Ecasound-Multitrack-0.997/MANIFEST
Audio-Ecasound-Multitrack-0.997/Changes
CPAN: File::Temp loaded ok (v0.21)
Package contains both files[MANIFEST META.yml Changes README COPYING]
and directories[lib script t inc]; not recognized as a perl package,
giving up
Package contains both files[MANIFEST META.yml Changes README
COPYING] and directories[lib script t inc]; not recognized as a perl
package, giving up, won't make
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
[root@serenity sms]#
-----------
How do I: "Please consider installing the Digest::SHA module."
Thanks Joel,
Stephen.