sans-clue has asked for the wisdom of the Perl Monks concerning the following question:

I have a simple (maybe crypt isn't) script I need to make into a binary.
#!/usr/bin/perl my $x = shift; chomp $x; print reverse(substr(crypt($x,"zz" ),2))."\n";
I am not sure what this error is telling me
root> perlcc cabove.pl
pcc2C19V.c: In function `perl_init_aaaa':
pcc2C19V.c:1126: warning: this decimal constant is unsigned only in ISO C90
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status

problem with ld ? Ideas ?

Replies are listed 'Best First'.
Re: perlcc error
by Fletch (Bishop) on Jan 10, 2008 at 17:52 UTC

    perlcc never was more than an experiment and it's been removed from the most recent release. If you're trying to use it for packaging a binary, look at par.

    If you're trying to use it to hide source, give up now. :) (Well, give up and just hire a good lawyer to write a decent end-user license for you. )

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

Re: perlcc error
by moritz (Cardinal) on Jan 10, 2008 at 17:36 UTC
Re: perlcc error
by ikegami (Patriarch) on Jan 10, 2008 at 17:37 UTC
    As if crypt isn't weak enough already, why remove salting?
      This is a crypt routine that a big s/w vendor uses and this is the perl version of it. I just need to binarize it.