in reply to Re^3: Tk Package Fails to Make - Next Crisis
in thread SOLVED (mostly): Tk Package Fails to Make
Then cd to the directory that contains 'try.c' and run:int main (void) { return 0; }
What output do you get ?gcc -o try.exe try.c -v
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Tk Package Fails to Make - Next Crisis
by BJ_Covert_Action (Beadle) on Apr 10, 2009 at 19:02 UTC | |
I am running on windows XP and I am pretty sure our office is up to using SP3. I can double check on that though if you need those details. Running the gcc command on try.c, as you described, yields:
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. Does that sound right? Does that even matter? Thank you again for all the help =) Cheers. | [reply] [d/l] [select] |
by syphilis (Archbishop) on Apr 11, 2009 at 00:27 UTC | |
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: 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 | [reply] [d/l] |
by BJ_Covert_Action (Beadle) on Apr 13, 2009 at 16:16 UTC | |
Read more... (7 kB)
...as a good install command should. As for the Bundle::CPAN install, I am now showing:
Read more... (24 kB)
...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:
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 | [reply] [d/l] [select] |
by syphilis (Archbishop) on Apr 14, 2009 at 01:58 UTC | |