Intenté con estas instrucciones aún no tengo éxito:
root@host [~]# export PATH=/usr/bin:/usr/local/bin:${PATH}
root@host [~]# echo $PATH
/usr/bin:/usr/local/bin:/usr/local/jdk/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin
root@host [~]#
root@host [~]# /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.18-028stab094.3, archname=i686-linux
uname='linux host.perusystem.com 2.6.18-028stab094.3 #1 smp thu sep 22
12:47:37 msd 2011 i686 i686 i386 gnulinux '
config_args='-ds -e -Dprefix=/usr/local -Doptimize=-Os -Duseshrplib
-Dusemymalloc=y'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=y, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-Os',
cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.4.4 20100726 (Red Hat 4.4.4-13)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.12.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.12'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-rpath,/usr/local/lib/perl5/5.8.8/i686-linux/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_LARGE_FILES
USE_PERLIO
Built under linux
Compiled at Dec 4 2011 16:39:22
@INC:
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
root@host [~]# /usr/bin/perl -V // sale lo mismo que anterior
root@host [~]# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
root@host [~]# export LD_LIBRARY_PATH=/usr/local/lib
root@host [~]# cd /root/support/apertium/lttoolbox
root@host [~/support/apertium/lttoolbox]# ./autogen.sh
root@host [~/support/apertium/lttoolbox]# ./autogen.sh
- libtoolize.
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: You should add the contents of the following files to
`aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
- aclocal.
/usr/share/automake-1.11/Automake/ChannelDefs.pm line 23:
This Perl hasn't been configured and built properly for the threads
module to work. (The 'useithreads' configuration option hasn't been used.)
Having threads support requires all of Perl and all of the XS modules in
the Perl installation to be rebuilt, it is not just a question of adding
the threads module. (In other words, threaded and non-threaded Perls
are binary incompatible.)
If you want to the use the threads module, please contact the people
who built your Perl.
Cannot continue, aborting.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/i686-linux/
threads.pm line 28.
Compilation failed in require at
/usr/share/automake-1.11/Automake/ChannelDefs.pm line 23.
BEGIN failed--compilation aborted at
/usr/share/automake-1.11/Automake/ChannelDefs.pm line 26.
Compilation failed in require at
/usr/share/automake-1.11/Automake/Configure_ac.pm line 26.
BEGIN failed--compilation aborted at
/usr/share/automake-1.11/Automake/Configure_ac.pm line 26.
Compilation failed in require at /usr/bin/aclocal line 39.
BEGIN failed--compilation aborted at /usr/bin/aclocal line 39.
root@host [~/support/apertium/lttoolbox]#
------------------------------------------------------------------------------------------
Es el mismo mensaje, no puedo instalar lttoolbox, que puedo
gracias de antemano por su ayuda.
On Mon, Nov 11, 2013 at 8:56 AM, Kevin Brubeck Unhammer
<[email protected]>wrote:
> Hugo David Calderon Vilca
> <[email protected]> writes:
>
> > Yo tengo problema al instalar apertium en una VPS con CPANEL
> > específicamente al instalar lttoolbox:
> >
> > PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
> > el error que ver abajo ojala aya una solucion:
> > -----------------------------------------------------------------------
> > --------------------------
> > root@host [~/support/apertium/apertium]#
> > PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh
> > - libtoolize.
> > libtoolize: putting auxiliary files in `.'.
> > libtoolize: linking file `./ltmain.sh'
> > libtoolize: You should add the contents of the following files to
> > `aclocal.m4':
> > libtoolize: `/usr/share/aclocal/libtool.m4'
> > libtoolize: `/usr/share/aclocal/ltoptions.m4'
> > libtoolize: `/usr/share/aclocal/ltversion.m4'
> > libtoolize: `/usr/share/aclocal/ltsugar.m4'
> > libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
> > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to
> > configure.ac and
> > libtoolize: rerunning libtoolize, to keep the correct libtool macros
> > in-tree.
> > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> > - aclocal.
> > /usr/share/automake-1.11/Automake/ChannelDefs.pm line 23:
> >
> > This Perl hasn't been configured and built properly for the threads
> > module to work. (The 'useithreads' configuration option hasn't been
> > used.)
>
> […]
>
> http://linux.ioerror.us/2012/09/compilation-error-installing-nominatim/
> suggests there may be a "minimal Perl" in /usr/local/bin – installed by
> CPANEL – which is overriding the full Perl.
>
> If that site is correct, you should be able to solve it by putting
>
> export PATH=/usr/bin:/usr/local/bin:${PATH}
>
> in your ~/.bashrc (or ~/.profile or ~/.bash_profile or whichever file
> you use), opening a new terminal, and trying again. This should make
> /usr/bin preferred over /usr/local/bin.
>
> If that doesn't work, can you try
>
> $ /usr/local/bin/perl -V
>
> and
>
> $ /usr/bin/perl -V
>
> and send the output of each command to the list?
>
>
>
> --
> Kevin Brubeck Unhammer
>
> GPG: 0x766AC60C
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> Apertium-stuff mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
--
Hugo David Calderon
(Movil)(Viber): 983638388
RPM: *0096390
Skype: hdcalderon1
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff