# New Ticket Created by Joshua Hoblitt # Please include the string: [perl #39860] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=39860 >
LIB_DIR gets setup as part of the configure process which is then passed
to the install script as --libdir=$(LIB_DIR). The solution is to make
Configure.pl more autotools like in that it can accept --libdir,
--datadir, etc.
-J
--
On Tue, Jul 11, 2006 at 09:30:00AM -0500, Steven Pritchard wrote:
> On Sat, Jul 08, 2006 at 07:01:19PM -0500, Steven Pritchard wrote:
> > First, there is a hardcoded "lib" somewhere that I can't seem to find.
>
> OK, I finally found the (last, I hope) problem. In
> tools/dev/install_files.pl, there is this line:
>
> $dest =~ s/^runtime/lib/;
>
> I may have gone overboard a bit, but here's what I ended up doing:
>
> %{__perl} -pi -e 's,"/lib","/%{_lib}", if (/^\s*lib_dir\s*=>/)' \
> config/init/defaults.pm
> %{__perl} -pi -e 's,"lib/,"%{_lib}/, if %(/CONST_STRING\(interpreter,/)' \
> src/library.c
> %{__perl} -pi -e
> "s,'/usr/lib','%{_libdir}',;s,runtime/lib/,runtime/%{_lib}/," \
> tools/dev/install_files.pl \
> tools/dev/mk_manifests.pl
>
> In the spec file, %{_lib} will expand to "lib64" on x86_64, otherwise
> it's just "lib". (In other words, this is all wasted effort on i386.)
>
> It seems to me that having "lib" hard-coded in src/library.c and
> tools/dev/install_files.pl at the very least would be a bug. Should I
> put a ticket in RT for this?
>
> > Second, ICU detection fails. (I haven't had time to look into this
> > yet.)
>
> I still haven't looked at this... Note that this is only on x86_64.
> On i386, it works fine.
>
> Oh, the one other issue I had worth mentioning was that the readline
> test in Configure.pl failed unless I specified --libs=-lcurses. I'm
> not who is to blame for that though... (This was on i386 and
> presumably on x86_64 as well.)
>
> Steve
> --
> Steven Pritchard - K&S Pritchard Enterprises, Inc.
> Email: [EMAIL PROTECTED] http://www.kspei.com/
> Phone: (618)398-3000 Mobile: (618)567-7320
pgpYrFsq4ua1r.pgp
Description: PGP signature
