Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^6: Tk Package Fails to Make - Next Crisis

by syphilis (Bishop)
on Apr 11, 2009 at 00:27 UTC ( #756953=note: print w/replies, xml ) Need Help??


in reply to Re^5: Tk Package Fails to Make - Next Crisis
in thread SOLVED (mostly): Tk Package Fails to Make

It looks like I have a version of gcc installed from my GNAT development environment that might be conflicting with the one installed with strawberry perl.

Yes, that's not strawberry's gcc. Can you rename 'C:/GNAT' to 'C:/GNAT_hide' (so that the system can't find it), then re-run the CPAN install of Math::FFT. Hopefully the CPAN install will then work fine.

Then, assuming you do need that GNAT gcc, you just have to work out how to manage the co-existence of those 2 versions of gcc. Another way would be to make sure that C:/strawberry/c/bin is at the start of your path envvar whenever you want to use that version of gcc. To achieve that just run:
set PATH=C:\strawberry\c\bin;%PATH%
That will ensure that strawberry's gcc is found instead of GNAT's. (You'll need to re-run that command every time you open up a cmd.exe shell that needs to find strawberry's gcc - unless you make that your permanent path setting.)

The best thing would be to remove the GNAT version, if possible.

Cheers,
Rob

Replies are listed 'Best First'.
Re^7: Tk Package Fails to Make - Next Crisis
by BJ_Covert_Action (Beadle) on Apr 13, 2009 at 16:16 UTC
    Oh beautiful! I changed the envar path to GNAT_hide as you mentioned and Math::FFT gave me:

    ...as a good install command should. As for the Bundle::CPAN install, I am now showing:

    ...so I tried the reports PMQS/IO-Compress-2.017.tar.gz command and was told to see:  http://www.cpantesters.org/show/IO-Compress.html for details. I went to said website and found and intriguing looking table with some info about successful installs on windows and windows cygwin systems. However, this is my cherry visit to the CPANtesters site so I am not sure what I am looking for...

    On the other side of the realm, I did try and install of Tk again and managed to do a successful install (apparently) since I was rewarded with a final message of:

    Appending installation info to C:\strawberry\perl\lib/perllocal.pod SREZIC/Tk-804.028.tar.gz C:\strawberry\c\bin\dmake.EXE install UNINST=1 -- OK

    So maybe there is just something funny with me trying to update and install the CPAN module?.

    As for the GNAT version of gcc, I don't really use GNAT much so I may just move that path to the end of my PATH variable, or take it out entirely, or something else. GNAT is on this system because it is commonly used amongst our other employees, but I haven't found a use for Ada yet that I couldn't do in either perl or matlab (mostly perl). So yeah.

    Thanks to everyone for all of the help. Between this and my consistent breaking of my linux box at home (I play with things I don't know anything about all to freely) I have been learning a ton about unix syntax and structure in general. I'm looking forward to learning more from all of you.

    If anyone has any further advice or ideas regarding my updating the CPAN module, I would love to hear them.

    Cheers for now,

    Brady

      I haven't found a use for Ada yet

      If you ever do need Ada, there's a MinGW package (tarball) available for it anyway. To add Ada to strawberry's MinGW you would just grab that tarball and unpack it to 'C:/strawberry/c'.

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://756953]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-01-19 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?