in reply to Re^4: Tk Package Fails to Make - Next Crisis
in thread SOLVED (mostly): Tk Package Fails to Make
Oh, cap 'V,' yep didn't pick up on that. Alright, perl -V gives me:
Summary of my perl5 (revision 5 version 10 subversion 0) configuration +: Platform: osname=MSWin32, osvers=5.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags =' -s -O2 -DWIN32 -DHAVE_DES_FCRYPT -DPERL_IMPL +ICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -DPERL_MSVCRT_R +EADFIX', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='3.4.5', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='long lo +ng', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='g++', ldflags ='-s -L"C:\strawberry\perl\lib\CORE" -L"C:\straw +berry\c\lib"' libpth=C:\strawberry\c\lib libs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool - +lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid - +lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 perllibs= -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspo +ol -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luu +id -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 libc=-lmsvcrt, so=dll, useshrplib=true, libperl=libperl510.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -L"C:\strawberry\perl\lib\CORE +" -L"C:\strawberry\c\lib"' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Jan 29 2009 20:56:38 @INC: C:/strawberry/perl/lib C:/strawberry/perl/site/lib .
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:
Reading specs from C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\specs gcc version 2.8.1 C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\cpp.exe -lang-c -v -unde +f -D__GNUC__=2 -D__GNUC_MINOR__=8 -Di386 -D_WIN32 -DWIN32 -D__WIN32__ + -D__MINGW32__ -DWINNT -D_X86_=1 -D__STDC__=1 -D__stdcall=__a ttribute__((__stdcall__)) -D__cdecl=__attribute__((__cdecl__)) -D__i38 +6__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__ -D__WINNT__ -D_X86 +_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__)) -D_ _cdecl=__attribute__((__cdecl__)) -D__i386 -D__WIN32 -D__WINNT -Asyste +m(winnt) -Acpu(i386) -Amachine(i386) -remap -Di386 -Di586 -Asystem(un +ix) -Acpu(i386) -Amachine(i386) -D__i386__ -D__i586__ -Asyste m(unix) -Acpu(i386) -Amachine(i386) try.c C:\DOCUME~1\BJACKS~1.SLC\LOC +ALS~1\Temp\cca00264.i GNU CPP version 2.8.1 (80386, BSD syntax) #include "..." search starts here: #include <...> search starts here: C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\include End of search list. C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\cc1.exe C:\DOCUME~1\BJAC +KS~1.SLC\LOCALS~1\Temp\cca00264.i -quiet -dumpbase try.c -version -o +C:\DOCUME~1\BJACKS~1.SLC\LOCALS~1\Temp\cca00264.s GNU C version 2.8.1 (pentium-mingw32msv) compiled by GNU C version 2.8 +.1. as -o C:\DOCUME~1\BJACKS~1.SLC\LOCALS~1\Temp\cca002641.o C:\DOCUME~1\ +BJACKS~1.SLC\LOCALS~1\Temp\cca00264.s ld -o try.exe C:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1\crt2.o -LC +:\GNAT\lib\gcc-lib\pentium-mingw32msv\2.8.1 -LC:\GNAT\lib -LC:\GNAT\l +ib C:\DOCUME~1\BJACKS~1.SLC\LOCALS~1\Temp\cca002641.o -lmingw 32 -lgcc -lmoldname -lmsvcrt -lkernel32 -ladvapi32 -lshell32 -lmingw32 + -lgcc -lmoldname -lmsvcrt
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Tk Package Fails to Make - Next Crisis
by syphilis (Archbishop) on Apr 11, 2009 at 00:27 UTC | |
by BJ_Covert_Action (Beadle) on Apr 13, 2009 at 16:16 UTC | |
by syphilis (Archbishop) on Apr 14, 2009 at 01:58 UTC |
In Section
Seekers of Perl Wisdom