On Fri, Sep 28, 2012 at 9:30 AM, Shlomi Fish <shlo...@shlomifish.org> wrote: > Hi Leo, > > On Fri, 28 Sep 2012 08:22:00 -0700 > Leo Susanto <leosusa...@gmail.com> wrote: > >> Shlomi, >> >> I am having a problem with when running >cpan XML-LibXML on >> ActiveState Perl 5.16.0 64 bits with MinGW64. >> >> According to Tony Cook: GCC doesn't use INCLUDE for the include search >> path, unless it's a MinGW extension. >> >> So I had to run eveything manually: >> > perl Makefile.PL INC=-IC:\CPANTesters\bin\gnome-deps-win64\include >> > LIBS=-LC:\CPANTesters\bin\gnome-deps-win64\lib dmake >> >> Still I have a problem during dmake, but it's other problem. >> > > What do you want me to do about it? You can also try setting one of: >
I tried C_INCLUDE_PATH, but dmake process failed with a lot of 'undefined reference' errors. This is the gcc command when I put the include & lib directory as args when executing Makefile.PL C:/CPANTE~1/PERL51~1.0_6/site/bin/gcc.exe -c -IC:\CPANTesters\bin\gnome-deps-win64\include -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"2.0004\" -DXS_VERSION=\"2.0004\" "-IC:\CPANTesters\Perl5.16.0_64\lib\CORE" -DHAVE_UTF8 -DHAVE_BLANK Av_CharPtrPtr.c And this is the one without: C:/CPANTE~1/PERL51~1.0_6/site/bin/gcc.exe -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERSION=\"2.0004\" -DXS_VERSION=\"2.0004\" "-IC:\CPANTesters\Perl5.16.0_64\lib\CORE" -DHAVE_UTF8 -DHAVE_BLANK Av_CharPtrPtr.c It's missing -IC:\CPANTesters\bin\gnome-deps-win64\include Can Makefile.PL detect the location of LibXML and put it in the gcc command line? > CPATH > C_INCLUDE_PATH > CPLUS_INCLUDE_PATH > OBJC_INCLUDE_PATH > > See the gcc man page. > > BTW, are you trying to build the latest version of XML-LibXML or are you > still stuck at XML-LibXML-1.70? No, I told you that I was shooting around random version of XML-LibXML, my original intention is to test past behavior. I am currently testing XML-LibXML-2.0004 > > Regards, > > Shlomi Fish > >> On Fri, Sep 28, 2012 at 2:18 AM, Shlomi Fish <shlo...@shlomifish.org> >> wrote: >> > Hi all, >> > >> > I keep getting error reports such as these for XML-LibXML : >> > >> > http://www.cpantesters.org/cpan/report/86fbd018-0862-11e2-9e90-da8a1df5d9f4 >> > >> > The problem is that one needs the headers for the library, but >> > they are not installed, and I am getting: >> > >> > error: libxml/xmlmemory.h: No such file or directory >> > >> > My question is: how I can check that the compiler can find all >> > these headers before creating "Makefile"? >> > >> > Regards, >> > >> > Shlomi Fish >> > >> > -- >> > ----------------------------------------------------------------- >> > Shlomi Fish http://www.shlomifish.org/ >> > "Humanity" - Parody of Modern Life - http://shlom.in/humanity >> > >> > The bad thing about hardware is that it sometimes works and it >> > sometimes doesn’t. The good thing about software is that it’s >> > consistent: it always does not work, and it always does not work in >> > exactly the same way. >> > >> > Please reply to list if it's a mailing list post - >> > http://shlom.in/reply . > > > > -- > ----------------------------------------------------------------- > Shlomi Fish http://www.shlomifish.org/ > UNIX Fortune Cookies - http://www.shlomifish.org/humour/fortunes/ > > That's why I feed my leprechaun every day — because there are not enough > phonemes in Navajo to tell him to get his act together and find a job. > — My comment on http://www.youtube.com/watch?v=izne8XcaBBg . > > Please reply to list if it's a mailing list post - http://shlom.in/reply .