I've been experiencing the same problem with the iconv library.  I tried
what you suggested and the "perl Makefile.PL" works fine, but when I run
"make" I run into some errors.  All the errors have to do with the
CharsetConv.xs file.

Thanks for any help you may have,
Ben

On 1/26/02 8:19 PM, "Terrence Brannon" <[EMAIL PROTECTED]> wrote:

> The FAQ states that some platforms have a problem with detection
> of iconv when it is there and that
> 
> you will need to edit the Makefile.PL files (in the root directory, and
> in lib/Apache/AxKit/) to comment out the checks for these
> libraries and just
> enforce their usage regardless.
> 
> 
> ... but I saw no refs to iconv in the root dir Makefile.PL, just
> in lib/Apache/AxKit
> 
> ... is there something there I missed. here is what I did in
> lib/Apache/AxKit:
> 
> {
>    last;
> if (have_library("iconv", "iconv") || have_library("iconv",
> "libiconv")) {
>    # probably FreeBSD or Win32
>    print "Found libiconv. Might be *BSD or Win32...\n\n";
>    $config{LIBS} .= " -liconv";
> }
> elsif (have_library("c", "iconv")) {
>    # other unix
> }
> else {
>    print <<"REASON";
> AxKit needs the iconv system library to work properly. This comes by
> default with most Unix systems, however it may be that you do not
> have the development libraries installed, or possibly that you just
> don't have iconv available on your system. For *BSD systems, iconv
> is available in your distribution's ports collection. For Win32
> systems, a google search will often suffice to find a Win32 library
> version.
> REASON
>    exit(0);
> }
> }
>    $config{LIBS} .= " -liconv";
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to