Perl -- błąd |
Autor |
Wiadomość |
ecikpecik
Dołączył: 29 Maj 2008 Posty: 35
|
Wysłany: 20 Czerwiec 2008, 19:28 Perl -- błąd
|
|
|
Witam mam taki sam problem jak tu
http://forum.pld-linux.or...&highlight=perl
np. jak wpisze perl w konsoli to
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pl_PL"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
W tym temacie gdzie dałem link jest odnośnik do dokumentacji http://pl.docs.pld-linux....onalizacja.html weszłem wniego i zainstalowałem pakiet poldek -i localedb-src kbd i następnie pisze by dać localedb-gen ale mi linux mówi że nie zna takiego polecenia.
Proszę o pomoc |
|
|
|
 |
bas

Distro: PLD 2.0;3.0
Pomógł: 199 razy Dołączył: 06 Lip 2005 Posty: 2305 Skąd: Łódź
|
Wysłany: 20 Czerwiec 2008, 19:44
|
|
|
ecikpecik napisał/a: | ale mi linux mówi że nie zna takiego polecenia |
Jak przechodzisz na root?(su czy su -)
A co się stanie jak wpiszesz /usr/bin/localedb-gen ?
Pozdrawiam BAS |
|
|
|
 |
ecikpecik
Dołączył: 29 Maj 2008 Posty: 35
|
Wysłany: 20 Czerwiec 2008, 19:53
|
|
|
Loguje się bezpośrednio na roota;-) |
|
|
|
 |
bas

Distro: PLD 2.0;3.0
Pomógł: 199 razy Dołączył: 06 Lip 2005 Posty: 2305 Skąd: Łódź
|
Wysłany: 20 Czerwiec 2008, 19:56
|
|
|
A paczka glibc-localedb-all jest?
Pozdrawiam BAS |
|
|
|
 |
ecikpecik
Dołączył: 29 Maj 2008 Posty: 35
|
Wysłany: 20 Czerwiec 2008, 20:29
|
|
|
Chciałem zainstalować ale
[root@serwer /]# poldek -i glibc-localedb-all
Loading [pndir]ac...
Loading [pndir]ac-updates...
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
skiptag S 2
18252 packages read
Removed 1 duplicate package from available set
warn: glibc-localedb-all: ambiguous name
Processing dependencies...
glibc-localedb-all-2.3.6-14 marks glibc-2.3.6-14 (cap glibc = 6:2.3.6-14)
glibc-2.3.6-14 marks glibc-misc-2.3.6-14 (cap glibc-misc = 6:2.3.6-14)
glibc-2.3.6-14 marks ldconfig-2.3.6-14 (cap ldconfig = 6:2.3.6-14)
glibc-2.3.6-14 marks SysVinit-2.86-13 (cap SysVinit >= 2.86-11)
glibc-localedb-all-2.3.6-14 marks iconv-2.3.6-14 (cap iconv = 6:2.3.6-14)
There are 6 packages to install (5 marked by dependencies):
I glibc-localedb-all-2.3.6-14
D SysVinit-2.86-13, glibc-2.3.6-14, glibc-misc-2.3.6-14, iconv-2.3.6-14, ldconfig-2.3.6-14
Need to get 15.6MB of archives (12.2MB to download).
After unpacking 74.5MB will be used.
Retrieving ac-updates::glibc-localedb-all-2.3.6-14.i686.rpm...
.............................. 100.0% [10.6M (20.7K/s)]
Retrieving ac-updates::iconv-2.3.6-14.i686.rpm...
.............................. 100.0% [1.7M (39.5K/s)]
Executing rpm --install -vh --root / --noorder...
warning: /root/.poldek-cache/ftp_ftp.ac.pld-linux.org.dists.ac.updates.i686/ldconfig-2.3.6-14.i686.rpm: Header V3 DSA signature: NOKEY, key ID 1bbd5459
error: Failed dependencies:
SysVinit < 2.86-11 conflicts with glibc-2.3.6-14.i686
[root@serwer /]#
;/ |
|
|
|
 |
bas

Distro: PLD 2.0;3.0
Pomógł: 199 razy Dołączył: 06 Lip 2005 Posty: 2305 Skąd: Łódź
|
Wysłany: 20 Czerwiec 2008, 20:35
|
|
|
Masz w pełni zaktualizowany system?
U mnie jest:
Kod: |
[root@bas ~]$ rpm -qa|grep locale|sort
glibc-localedb-all-2.3.6-14.i686
localedb-src-2.3.6-14.i686
|
Pozdrawiam BAS |
|
|
|
 |
svl
paweld

Pomógł: 115 razy Dołączył: 19 Lis 2006 Posty: 1038 Skąd: Toruń
|
Wysłany: 20 Czerwiec 2008, 20:39
|
|
|
ecikpecik napisał/a: | weszłem wniego i zainstalowałem pakiet poldek -i localedb-src kbd |
błąd, wcale nie zainstalowałeś co widać po następnych postach, czytaj komunikaty wyświetlane przez poldka
ecikpecik napisał/a: | następnie pisze by dać localedb-gen ale mi linux mówi że nie zna takiego polecenia. |
wynika z braku odpowiedniej paczki
ecikpecik napisał/a: | error: Failed dependencies:
SysVinit < 2.86-11 conflicts with glibc-2.3.6-14.i686 |
potrzebujesz nowsze SysVinit, w ac-updates leży SysVinit-2.86-13 powinno pomóc |
_________________ God, root, what is difference? |
|
|
|
 |
ecikpecik
Dołączył: 29 Maj 2008 Posty: 35
|
Wysłany: 20 Czerwiec 2008, 21:31
|
|
|
dałem tak poldek -i SysVinit i poldek -i glibc-localedb-all i dalej błąd ten sam. |
|
|
|
 |
svl
paweld

Pomógł: 115 razy Dołączył: 19 Lis 2006 Posty: 1038 Skąd: Toruń
|
Wysłany: 20 Czerwiec 2008, 21:59
|
|
|
skorzystaj z ac-updates, dodaj sobie na stałe do poldka obsługe ac-updates
http://pl.docs.pld-linux.org/poldek.html rodział Źródła
potem poldek --up i zainstaluj jeszcze raz |
_________________ God, root, what is difference? |
|
|
|
 |
ecikpecik
Dołączył: 29 Maj 2008 Posty: 35
|
Wysłany: 21 Czerwiec 2008, 17:56
|
|
|
Ok działa !! dzięki !!
Ale kolejny problem chciałem zainstalować moduły;-) więc wchodzę w webmin i daje by instalował Config::IniFiles był błąd więc zainstalowałem perl-devel i moduł Config::IniFiles zainstalował się Ale nadal są błędy jak chcę zainstalować DBD::mysql i DBI.
DBD::mysql
Uruchamianie /usr/bin/perl Makefile.PL && make ..
Can't exec "mysql_config": No such file or directory at Makefile.PL line 76.
Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
not contain the path to mysql_config. Resorting to guessed values!
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
PLEASE NOTE:
For 'make test' to run properly, you must ensure that the
database user 'root' can connect to your MySQL server
and has the proper privileges that these tests require such
as 'drop table', 'create table', 'drop procedure', 'create procedure'
as well as others.
mysql> grant all privileges on test.* to 'root'@'localhost' identified by 's3kr1t';
You can also optionally set the user to run 'make test' with:
perl Makefile.pl --testuser=username
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
Can't exec "mysql_config": No such file or directory at Makefile.PL line 466.
Failed to determine directory of mysql.h. Use
perl Makefile.PL --cflags=-I<dir>
to set this directory. For details see the INSTALL.html file,
section "C Compiler flags" or type
perl Makefile.PL --help
Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
DBI
Uruchamianie /usr/bin/perl Makefile.PL && make ..
*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.
Your perl was compiled with gcc (version 3.3.6 (PLD Linux)), okay.
Creating test wrappers for DBI::PurePerl:
t/zvp_01basics.t
t/zvp_02dbidrv.t
t/zvp_03handle.t
t/zvp_04mods.t
t/zvp_05concathash.t
t/zvp_06attrs.t
t/zvp_07kids.t
t/zvp_08keeperr.t
t/zvp_09trace.t
t/zvp_10examp.t
t/zvp_11fetch.t
t/zvp_12quote.t
t/zvp_13taint.t
t/zvp_14utf8.t
t/zvp_15array.t
t/zvp_19fhtrace.t
t/zvp_20meta.t
t/zvp_30subclass.t
t/zvp_35thrclone.t (use threads)
t/zvp_40profile.t
t/zvp_41prof_dump.t
t/zvp_42prof_data.t
t/zvp_43prof_env.t
t/zvp_50dbm.t
t/zvp_60preparse.t
t/zvp_65transact.t
t/zvp_70callbacks.t
t/zvp_72childhandles.t
t/zvp_80proxy.t
t/zvp_85gofer.t
t/zvp_86gofer_fail.t
t/zvp_87gofer_cache.t
Creating test wrappers for DBD::Gofer:
t/zvg_01basics.t
t/zvg_02dbidrv.t
t/zvg_03handle.t
t/zvg_04mods.t
t/zvg_05concathash.t
t/zvg_06attrs.t
t/zvg_07kids.t
t/zvg_08keeperr.t
t/zvg_09trace.t
t/zvg_10examp.t
t/zvg_11fetch.t
t/zvg_12quote.t
t/zvg_13taint.t
t/zvg_14utf8.t
t/zvg_15array.t
t/zvg_19fhtrace.t
t/zvg_20meta.t
t/zvg_30subclass.t
t/zvg_35thrclone.t (use threads)
t/zvg_40profile.t
t/zvg_41prof_dump.t
t/zvg_42prof_data.t
t/zvg_43prof_env.t
t/zvg_50dbm.t
t/zvg_60preparse.t
t/zvg_65transact.t
t/zvg_70callbacks.t
t/zvg_72childhandles.t
t/zvg_80proxy.t
t/zvg_85gofer.t
t/zvg_86gofer_fail.t
t/zvg_87gofer_cache.t
Creating test wrappers for PurePerl & Gofer:
t/zvxgp_01basics.t
t/zvxgp_02dbidrv.t
t/zvxgp_03handle.t
t/zvxgp_04mods.t
t/zvxgp_05concathash.t
t/zvxgp_06attrs.t
t/zvxgp_07kids.t
t/zvxgp_08keeperr.t
t/zvxgp_09trace.t
t/zvxgp_10examp.t
t/zvxgp_11fetch.t
t/zvxgp_12quote.t
t/zvxgp_13taint.t
t/zvxgp_14utf8.t
t/zvxgp_15array.t
t/zvxgp_19fhtrace.t
t/zvxgp_20meta.t
t/zvxgp_30subclass.t
t/zvxgp_35thrclone.t (use threads)
t/zvxgp_40profile.t
t/zvxgp_41prof_dump.t
t/zvxgp_42prof_data.t
t/zvxgp_43prof_env.t
t/zvxgp_50dbm.t
t/zvxgp_60preparse.t
t/zvxgp_65transact.t
t/zvxgp_70callbacks.t
t/zvxgp_72childhandles.t
t/zvxgp_80proxy.t
t/zvxgp_85gofer.t
t/zvxgp_86gofer_fail.t
t/zvxgp_87gofer_cache.t
Checking if your kit is complete...
Looks good
I see you're using perl 5.008008 on i386-pld-linux-thread-multi, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Writing Makefile for DBI
/usr/bin/perl5.8.8 "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Changes.pm
cp Changes blib/lib/DBI/Changes.pm
/usr/bin/perl5.8.8 "-MExtUtils::Command" -e mkpath blib/lib/DBI
rm -f blib/lib/DBI/Roadmap.pm
cp Roadmap.pod blib/lib/DBI/Roadmap.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Gofer/Response.pm blib/lib/DBI/Gofer/Response.pm
cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.pm
cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp Roadmap.pod blib/lib/Roadmap.pod
cp dbixs_rev.pl blib/lib/dbixs_rev.pl
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm
cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serializer/DataDumper.pm
cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
cp lib/DBD/Gofer/Transport/pipeone.pm blib/lib/DBD/Gofer/Transport/pipeone.pm
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/CacheMemory.pm
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/Gofer.pm blib/lib/DBD/Gofer.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h
cp lib/DBD/Gofer/Transport/Base.pm blib/lib/DBD/Gofer/Transport/Base.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp lib/DBD/Gofer/Policy/rush.pm blib/lib/DBD/Gofer/Policy/rush.pm
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBI/Gofer/Request.pm blib/lib/DBI/Gofer/Request.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp lib/DBD/Gofer/Transport/stream.pm blib/lib/DBD/Gofer/Transport/stream.pm
cp lib/DBD/Gofer/Policy/classic.pm blib/lib/DBD/Gofer/Policy/classic.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBI/Gofer/Serializer/Storable.pm blib/lib/DBI/Gofer/Serializer/Storable.pm
cp lib/DBI/Gofer/Transport/stream.pm blib/lib/DBI/Gofer/Transport/stream.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBD/Gofer/Policy/pedantic.pm blib/lib/DBD/Gofer/Policy/pedantic.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/Gofer/Transport/pipeone.pm blib/lib/DBI/Gofer/Transport/pipeone.pm
cp lib/DBD/Gofer/Transport/null.pm blib/lib/DBD/Gofer/Transport/null.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp TASKS.pod blib/lib/TASKS.pod
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Gofer/Execute.pm blib/lib/DBI/Gofer/Execute.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/usr/bin/perl5.8.8 -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
/usr/bin/perl5.8.8 /usr/share/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/share/perl5/5.8.8/ExtUtils/
typemap -typemap typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
i386-pld-linux-gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I
/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i386 -DVERSION=\"1.605\"
-DXS_VERSION=\"1.605\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-pld-linux-thread-multi/CORE" -W -Wall -Wp
ointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -W
no-unused-parameter Perl.c
/bin/sh: i386-pld-linux-gcc: not found
make: *** [Perl.o] Error 127 |
|
|
|
 |
pmuch
Pomógł: 2 razy Dołączył: 09 Sty 2008 Posty: 50
|
Wysłany: 21 Czerwiec 2008, 18:06
|
|
|
A dlaczego nie instalujesz modułów perla z paczek?
poldek -i perl-Config-IniFiles ? |
_________________ Skateshop http://sklep.e-street.pl |
|
|
|
 |
ecikpecik
Dołączył: 29 Maj 2008 Posty: 35
|
Wysłany: 21 Czerwiec 2008, 20:44
|
|
|
yyyy dzięki wam jeszcze raz !!
Nie widziałem takiego forum gdzie każdy tak pomaga !
Dzięki jeszcze raz ! |
|
|
|
 |
KrystianT
Distro: PLD 3.0
Pomógł: 189 razy Dołączył: 26 Paź 2005 Posty: 1921 Skąd: Kamionek
|
Wysłany: 21 Czerwiec 2008, 21:02
|
|
|
ecikpecik napisał/a: | Nie widziałem takiego forum gdzie każdy tak pomaga ! | Po to właśnie jest to forum Po prostu PLD i jego społeczność są jedyne w swoim rodzaju. |
_________________ Krystian T.
"Errare humanum est." |
|
|
|
 |
|