sybella1 has asked for the wisdom of the Perl Monks concerning the following question:

Hello fellow perlmonkers!

I'm new to perl and linux.
I'm trying to install some perl modules on suse 9.1.
I think i have a problem with 'make' or 'makefile'.
This is the error i'm getting when i run ('perl -MCPAN -e shell' THEN 'install HTML::Parser'):

make: *** Makefile Error 1
/usr/bin/make --Not OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
-----

But when i tried to install 'Ispconfig' i got the following error when run (./setup):

make: Warning: File 'Makefile.org' has modification time 1.4e+08 s in the future.
Makefile is older than Makefile.org, configure or config.
Reconfigure the source tree (via ./config or perl configure), please.
make: *** Makefile Error 1.
ERROR: Could not make OpenSSL.
---

Any info/resources on how to solve the above problem/s would be great.

Thanks for your replies in advance.
regards;
sybella


Replies are listed 'Best First'.
Re: perl modules installation error
by spiritway (Vicar) on Aug 26, 2005 at 22:26 UTC

    I can't tell from the error messages, but it may be that you have a permission problem. You may need to use su to do your make-ing as root.

    The first error about "/usr/bin/make not OK" suggests to me that you can't even run make with your present permissions. This could arise if you have chosen very stringent default permissions for your files, in which case your permissions would default to 0700, "-rwx------". This means that only root would be able to run or even see its files.

    You can check for this situation by typing the following: 'l /usr/bin/make', of course omitting the single-quotes. Look at the resulting listing, if any. If you get an error "Permission denied", then your default permissions are too stringent, and non-root users can't see or execute files owned by root. You'll need to change the permissions as root. If you *do* get a listing, it will probably resemble something like this: -rwxr--r--. If you only see one 'x', then you again need to give execute permissions to non-root users.

    Finally, if you get a "No such file or directory" error, you may need to go back to your YaST installation and make sure you install the required programs. Check under "development" and make sure you have installed Perl, make, gcc, and the other programs needed to compile source code.

Re: perl modules installation error
by sybella1 (Initiate) on Aug 26, 2005 at 23:57 UTC
    Hi spiritway,
    This is what i get when i run 'l /usr/bin/make'; (-rwxr-xr-x 1 root root 148073 Apr 6 2004 /usr/bin/make).
    How do i change the permissions? I'm new to all this please help.
    But i got the above errors when i was running commands as root?!
    Thanks very much for the reply.
    regards, sybella
      Sorry the reply under (Anonymous Monk) is from me>>>sybella1
Re: perl modules installation error
by Anonymous Monk on Aug 27, 2005 at 10:32 UTC
    Hi,
    This is what exactly i did and the complete outcome.
    I didn't want to post it the first time; i thought it was too long.
    sybella1@server1:~>su -
    password:*********
    server1:/ # perl -MCPAN -e shell

    cpan shell -- CPAN exploration and modules installation (v1.7601)
    ReadLine support enabled

    cpan> install HTML::Parser
    CPAN: Storable loaded ok
    Going to read /root/.cpan/Metadata
    Database was generated on Fri, 26 Aug 2005 04:00:37 GMT
    Running install for module HTML::Parser
    Running make for G/GA/GAAS/HTML-Parser-3.45.tar.gz CPAN: Digest::MD5 loaded ok Checksum for /root/.cpan/sources/authors/id/G/GA/GAAS/HTML-Parser-3.45.tar.gz ok Scanning cache /root/.cpan/build for sizes HTML-Parser-3.45/ HTML-Parser-3.45/t/ HTML-Parser-3.45/t/xml-mode.t
    HTML-Parser-3.45/t/textarea.t
    /bin/tar: HTML-Parser-3.45/t/textarea.t: time stamp 2004-11-15 22:16:34 is 121691032 s in the future HTML-Parser-3.45/t/filter-methods.t
    /bin/tar: HTML-Parser-3.45/t/filter-methods.t: time stamp 2001-05-07 18:45:08 is 10391546 s in the future HTML-Parser-3.45/t/crashme.t
    HTML-Parser-3.45/t/handler-eof.t
    HTML-Parser-3.45/t/unicode-bom.t
    /bin/tar: HTML-Parser-3.45/t/unicode-bom.t: time stamp 2004-11-22 12:11:17 is 122259515 s in the future HTML-Parser-3.45/t/argspec-bad.t
    HTML-Parser-3.45/t/dtext.t
    /bin/tar: HTML-Parser-3.45/t/dtext.t: time stamp 2004-11-23 14:25:23 is 122353961 s in the future HTML-Parser-3.45/t/callback.t
    /bin/tar: HTML-Parser-3.45/t/callback.t: time stamp 2004-11-17 12:32:28 is 121828786 s in the future HTML-Parser-3.45/t/entities.t
    /bin/tar: HTML-Parser-3.45/t/entities.t: time stamp 2003-01-18 12:39:44 is 64027622 s in the future HTML-Parser-3.45/t/argspec.t
    /bin/tar: HTML-Parser-3.45/t/argspec.t: time stamp 2001-05-07 18:45:08 is 10391546 s in the future HTML-Parser-3.45/t/comment.t
    /bin/tar: HTML-Parser-3.45/t/comment.t: time stamp 2003-04-17 04:45:10 is 71685148 s in the future HTML-Parser-3.45/t/declaration.t
    HTML-Parser-3.45/t/offset.t
    /bin/tar: HTML-Parser-3.45/t/offset.t: time stamp 2001-05-09 08:15:49 is 10526587 s in the future HTML-Parser-3.45/t/handler.t
    HTML-Parser-3.45/t/plaintext.t
    /bin/tar: HTML-Parser-3.45/t/plaintext.t: time stamp 2004-11-11 10:08:07 is 121301725 s in the future HTML-Parser-3.45/t/case-sensitive.t
    /bin/tar: HTML-Parser-3.45/t/case-sensitive.t: time stamp 2004-04-01 12:47:41 is 101954099 s in the future HTML-Parser-3.45/t/cases.t
    /bin/tar: HTML-Parser-3.45/t/cases.t: time stamp 2004-11-23 14:19:43 is 122353621 s in the future HTML-Parser-3.45/t/marked-sect.t
    /bin/tar: HTML-Parser-3.45/t/marked-sect.t: time stamp 2001-05-07 18:45:08 is 10391546 s in the future HTML-Parser-3.45/t/filter.t
    HTML-Parser-3.45/t/tokeparser.t
    /bin/tar: HTML-Parser-3.45/t/tokeparser.t: time stamp 2003-10-14 11:11:07 is 87260305 s in the future HTML-Parser-3.45/t/linkextor-rel.t
    HTML-Parser-3.45/t/entities2.t
    /bin/tar: HTML-Parser-3.45/t/entities2.t: time stamp 2004-12-06 09:14:52 is 123458530 s in the future HTML-Parser-3.45/t/skipped-text.t
    /bin/tar: HTML-Parser-3.45/t/skipped-text.t: time stamp 2004-11-15 22:17:23 is 121691081 s in the future HTML-Parser-3.45/t/linkextor-base.t
    HTML-Parser-3.45/t/default.t
    HTML-Parser-3.45/t/headparser.t /bin/tar: HTML-Parser-3.45/t/headparser.t: time stamp 2004-11-22 17:49:02 is 122279780 s in the future HTML-Parser-3.45/t/uentities.t /bin/tar: HTML-Parser-3.45/t/uentities.t: time stamp 2004-11-17 14:22:26 is 121835384 s in the future HTML-Parser-3.45/t/headparser-http.t HTML-Parser-3.45/t/script.t /bin/tar: HTML-Parser-3.45/t/script.t: time stamp 2004-12-28 13:44:43 is 125375521 s in the future HTML-Parser-3.45/t/stack-realloc.t
    /bin/tar: HTML-Parser-3.45/t/stack-realloc.t: time stamp 2003-10-27 21:17:21 is 88423479 s in the future HTML-Parser-3.45/t/magic.t
    HTML-Parser-3.45/t/options.t
    HTML-Parser-3.45/t/attr-encoded.t /bin/tar: HTML-Parser-3.45/t/attr-encoded.t: time stamp 2002-03-08 03:49:24 is 36693402 s in the future HTML-Parser-3.45/t/unicode.t /bin/tar: HTML-Parser-3.45/t/unicode.t: time stamp 2004-12-06 09:08:25 is 123458143 s in the future HTML-Parser-3.45/t/argspec2.t /bin/tar: HTML-Parser-3.45/t/argspec2.t: time stamp 2001-03-13 18:52:47 is 5643605 s in the future HTML-Parser-3.45/t/ignore.t HTML-Parser-3.45/t/largetags.t
    HTML-Parser-3.45/t/unbroken-text.t
    /bin/tar: HTML-Parser-3.45/t/unbroken-text.t: time stamp 2001-03-30 08:40:30 is 7072068 s in the future HTML-Parser-3.45/t/msie-compat.t
    /bin/tar: HTML-Parser-3.45/t/msie-compat.t: time stamp 2003-10-03 15:49:33 is 86326611 s in the future HTML-Parser-3.45/t/api_version.t
    HTML-Parser-3.45/t/parsefile.t
    HTML-Parser-3.45/t/parser.t
    HTML-Parser-3.45/t/process.t
    HTML-Parser-3.45/t/pullparser.t
    /bin/tar: HTML-Parser-3.45/t/pullparser.t: time stamp 2001-03-26 07:43:46 is 6723064 s in the future HTML-Parser-3.45/eg/ /bin/tar: HTML-Parser-3.45/t: time stamp 2005-01-06 09:06:03 is 126136401 s in the future HTML-Parser-3.45/eg/hlc /bin/tar: HTML-Parser-3.45/eg/hlc: time stamp 2002-06-25 17:42:55 is 46157413 s in the future HTML-Parser-3.45/eg/hanchors /bin/tar: HTML-Parser-3.45/eg/hanchors: time stamp 2001-03-26 23:05:40 is 6778378 s in the future HTML-Parser-3.45/eg/htextsub
    HTML-Parser-3.45/eg/htitle
    /bin/tar: HTML-Parser-3.45/eg/htitle: time stamp 2001-03-26 23:05:41 is 6778379 s in the future HTML-Parser-3.45/eg/hstrip
    /bin/tar: HTML-Parser-3.45/eg/hstrip: time stamp 2001-03-19 05:09:36 is 6112614 s in the future HTML-Parser-3.45/eg/hrefsub /bin/tar: HTML-Parser-3.45/eg/hrefsub: time stamp 2003-10-10 12:30:30 is 86919468 s in the future HTML-Parser-3.45/eg/hform /bin/tar: HTML-Parser-3.45/eg/hform: time stamp 2001-03-27 22:58:35 is 6864353 s in the future HTML-Parser-3.45/eg/hdump /bin/tar: HTML-Parser-3.45/eg/hdump: time stamp 2003-10-10 14:33:13 is 86926831 s in the future HTML-Parser-3.45/eg/htext
    HTML-Parser-3.45/lib/
    /bin/tar: HTML-Parser-3.45/eg: time stamp 2005-01-06 09:06:03 is 126136401 s in the future HTML-Parser-3.45/lib/HTML/
    HTML-Parser-3.45/lib/HTML/Entities.pm
    /bin/tar: HTML-Parser-3.45/lib/HTML/Entities.pm: time stamp 2004-11-23 15:06:16 is 122356414 s in the future HTML-Parser-3.45/lib/HTML/PullParser.pm
    /bin/tar: HTML-Parser-3.45/lib/HTML/PullParser.pm: time stamp 2003-10-10 10:56:18 is 86913816 s in the future HTML-Parser-3.45/lib/HTML/Filter.pm
    /bin/tar: HTML-Parser-3.45/lib/HTML/Filter.pm: time stamp 2003-10-10 10:56:18 is 86913816 s in the future HTML-Parser-3.45/lib/HTML/TokeParser.pm
    /bin/tar: HTML-Parser-3.45/lib/HTML/TokeParser.pm: time stamp 2004-11-23 11:40:56 is 122344094 s in the future HTML-Parser-3.45/lib/HTML/LinkExtor.pm
    /bin/tar: HTML-Parser-3.45/lib/HTML/LinkExtor.pm: time stamp 2003-10-10 11:20:56 is 86915294 s in the future HTML-Parser-3.45/lib/HTML/HeadParser.pm
    /bin/tar: HTML-Parser-3.45/lib/HTML/HeadParser.pm: time stamp 2004-12-01 10:22:07 is 123030565 s in the future HTML-Parser-3.45/util.c
    /bin/tar: HTML-Parser-3.45/lib/HTML: time stamp 2005-01-06 09:06:03 is 126136401 s in the future
    /bin/tar: HTML-Parser-3.45/lib: time stamp 2005-01-06 09:06:03 is 126136401 s in the future
    /bin/tar: HTML-Parser-3.45/util.c: time stamp 2004-12-06 09:11:37 is 123458335 s in the future HTML-Parser-3.45/Makefile.PL
    /bin/tar: HTML-Parser-3.45/Makefile.PL: time stamp 2004-11-23 15:12:39 is 122356797 s in the future HTML-Parser-3.45/hints/
    HTML-Parser-3.45/hints/solaris.pl
    HTML-Parser-3.45/Parser.pm
    /bin/tar: HTML-Parser-3.45/hints: time stamp 2005-01-06 09:06:03 is 126136401 s in the future
    /bin/tar: HTML-Parser-3.45/Parser.pm: time stamp 2005-01-06 09:02:27 is 126136185 s in the future HTML-Parser-3.45/TODO
    /bin/tar: HTML-Parser-3.45/TODO: time stamp 2004-11-23 14:26:36 is 122354034 s in the future HTML-Parser-3.45/MANIFEST
    /bin/tar: HTML-Parser-3.45/MANIFEST: time stamp 2004-12-28 13:45:39 is 125375577 s in the future HTML-Parser-3.45/tokenpos.h
    /bin/tar: HTML-Parser-3.45/tokenpos.h: time stamp 2003-04-17 18:17:25 is 71733883 s in the future HTML-Parser-3.45/Changes
    /bin/tar: HTML-Parser-3.45/Changes: time stamp 2005-01-06 09:04:11 is 126136289 s in the future HTML-Parser-3.45/mkhctype
    /bin/tar: HTML-Parser-3.45/mkhctype: time stamp 2001-02-23 07:08:01 is 4046119 s in the future HTML-Parser-3.45/Parser.xs
    /bin/tar: HTML-Parser-3.45/Parser.xs: time stamp 2005-01-06 09:02:28 is 126136186 s in the future HTML-Parser-3.45/mkpfunc
    /bin/tar: HTML-Parser-3.45/mkpfunc: time stamp 2004-11-17 09:43:09 is 121818627 s in the future HTML-Parser-3.45/hparser.c
    /bin/tar: HTML-Parser-3.45/hparser.c: time stamp 2004-12-28 13:47:44 is 125375702 s in the future HTML-Parser-3.45/README
    /bin/tar: HTML-Parser-3.45/README: time stamp 2005-01-06 09:00:36 is 126136074 s in the future HTML-Parser-3.45/hparser.h
    /bin/tar: HTML-Parser-3.45/hparser.h: time stamp 2004-11-23 20:38:27 is 122376345 s in the future
    HTML-Parser-3.45/typemap
    /bin/tar: HTML-Parser-3.45/typemap: time stamp 2003-04-17 01:36:07 is 71673805 s in the future
    /bin/tar: HTML-Parser-3.45: time stamp 2005-01-06 09:06:03 is 126136401 s in the future
    Removing previously used /root/.cpan/build/HTML-Parser-3.45
    CPAN.pm: Going to build G/GA/GAAS/HTML-Parser-3.45.tar.gz
    Checking if your kit is complete...
    Looks good
    Writing Makefile for HTML::Parser
    make: Warning: File `Makefile.PL' has modification time
    1.2e+08 s in the future
    Makefile out-of-date with respect to
    Makefile.PL /usr/lib/perl5/5.8.3/i586-linux-thread-multi/Config.pm /usr/lib/perl5/5.8.3/i586-linux-thread-multi/CORE/config.h
    Cleaning current config before rebuilding Makefile...
    /usr/bin/make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
    /usr/bin/perl Makefile.PL
    Checking if your kit is complete...
    Looks good
    Writing Makefile for HTML::Parser
    ==> Your Makefile has been rebuilt. <==
    ==> Please rerun the make command. <==
    false
    make: *** Makefile Error 1
    /usr/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible
    cpan>
      Make can get confused if your system clock is not correct (or more precisely, if your dependencies are newer than the current system time). I'd recommend setting your system clock to the correct time and then try to make a clean build (in the CPAN shell I believe you can do that with clean HTML::Parser followed by install HTML::Parser).

        Hi Joost,
        I'm going to try to reset the system clock; i don't know how but I will try.
        I'm new to linux. I will let you know. Thanks for the reply.
        regards,
        sybella.