Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2007-12-20 18:21:20

  b4mbus - Użytkownik

b4mbus
Użytkownik
Skąd: czę100chowa
Zarejestrowany: 2007-02-02

Lstat...

A wiec tak zassałem rrdtool w wersji 1.2.12 robie w kolejnosci...

Kod:

./configure --enable-latin2

Findr 3rd-Party Libraries
checking for art_vpath_add_point in -lart_lgpl_2... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libart_lgpl_2 and its header files. If
  you have not installed libart-2.0, you can get it either from its original home on

     ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

  You can find also find an archive copy on

     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of libart-2.0 is 2.3.17.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/libart-2.0

----------------------------------------------------------------------------

checking for zlibVersion in -lz... no
checking for pkg-config... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of zlib. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libz and its header files. If
  you have not installed zlib, you can get it either from its original home on

     http://www.gzip.org/zlib/

  You can find also find an archive copy on

     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of zlib is 1.2.2.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------

checking for png_access_version_number in -lpng... no
checking for pkg-config... (cached) no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libpng. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libpng and its header files. If
  you have not installed libpng, you can get it either from its original home on

     http://prdownloads.sourceforge.net/libpng/

  You can find also find an archive copy on

     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of libpng is 1.2.8.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS=

----------------------------------------------------------------------------

checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. Check config.log for hints on why
  this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
  so that compiler and the linker can find libfreetype and its header files. If
  you have not installed freetype2, you can get it either from its original home on

     http://prdownloads.sourceforge.net/freetype/

  You can find also find an archive copy on

     http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/libs

  The last tested version of freetype2 is 2.1.9.

       LIBS=-lm
   LDFLAGS=
  CPPFLAGS= -I/usr/include/freetype2

----------------------------------------------------------------------------

configure: error: Please fix the library issues listed above and try again.

A z Lstat w wersji 2.3.2 przy apache2 lub zwyklym apache tak...

Kod:

fhl60:/home/mati/lstat-2.3.2# ./configure --iso-8859-2 --with-httpdconf=/etc/apache2/apache2.conf

Configuring for Apache
INFO: Using www-data and www-data as WWW Server user and group
INFO: /etc/apache2/apache2.conf can be updated for LinuxStat directives

fhl60:/home/mati/lstat-2.3.2# make && make install

Instaling  library files...
Instaling  config files...
Instaling  pages and user config files...
Instaling  icons...
Instaling  manual files... polish english
Installing skins...sky
Instaling CGI scripts
Instaling binaries
make[1]: Wejście do katalogu `/home/mati/lstat-2.3.2/src/templates'
Instaling  templates...
make[1]: Opuszczenie katalogu `/home/mati/lstat-2.3.2/src/templates'
Updating Apache conf... done.
Creating some stats
Setting LOCK file
Merging user config
Merging system config
chown: `nobody:nobody': błędna grupa
chown: `nobody:nobody': błędna grupa

no i staty nei chca działać.... nie znalazlem w innych postach odpowiedzi... wiec moze ktos pomoże jeszcze raz... Bede wdzieczny.

Offline

 

#2  2007-12-23 15:03:26

  b4mbus - Użytkownik

b4mbus
Użytkownik
Skąd: czę100chowa
Zarejestrowany: 2007-02-02

Re: Lstat...

Kod:

fhl60:/home/mati/lstat-2.3.2# ./configure --iso-8859-2 --with-httpdconf=/etc/apache/httpd.conf --with-wwwuser=root --with-wwwgroup=root

INFO: Using root and root as WWW Server user and group

fhl60:/home/mati/lstat-2.3.2# make && make install

Instaling  library files...
Instaling  config files...

WARNING: Using root as WWWUSER (mayby you forgot --apache switch ?)

Instaling  pages and user config files...
Instaling  icons...
Instaling  manual files... polish english
Installing skins...sky
Instaling CGI scripts
Instaling binaries
make[1]: Wejście do katalogu `/home/mati/lstat-2.3.2/src/templates'
Instaling  templates...
make[1]: Opuszczenie katalogu `/home/mati/lstat-2.3.2/src/templates'
Creating some stats
Merging user config
Merging system config
chown: `nobody:nobody': błędna grupa
chown: `nobody:nobody': błędna grupa

Nadal to wyskakuje :( oraz w przegladarce

Kod:

Cant open configfile /usr/local/lstat/etc/pages/user.config : Permission denied
 at /usr/local/lstat/lib//Misc.pm line 220
BEGIN failed--compilation aborted at /usr/local/lstat/lib//Misc.pm line 220.
Compilation failed in require at /usr/local/lstat/lib//Std_obj.pm line 2.
BEGIN failed--compilation aborted at /usr/local/lstat/lib//Std_obj.pm line 2.
Compilation failed in require at /usr/local/lstat/lib//Plugins.pm line 4.
BEGIN failed--compilation aborted at /usr/local/lstat/lib//Plugins.pm line 4.
Compilation failed in require at /usr/local/lstat/www/lstat.cgi line 10.
BEGIN failed--compilation aborted at /usr/local/lstat/www/lstat.cgi line 10.

pomoże ktos :(:( ?

Offline

 

#3  2007-12-23 15:06:37

  bolos_11 - Użytkownik

bolos_11
Użytkownik
Zarejestrowany: 2006-10-30

Re: Lstat...

" Permission denied " ...  /usr/local/lstat/lib//Misc.pm line 220


NIC dodac nic ujac .... ??  //  ??

Ostatnio edytowany przez bolos_11 (2007-12-23 15:07:14)

Offline

 

#4  2007-12-23 17:18:31

  b4mbus - Użytkownik

b4mbus
Użytkownik
Skąd: czę100chowa
Zarejestrowany: 2007-02-02

Re: Lstat...

bolos_11 napisał(-a):

" Permission denied " ...  /usr/local/lstat/lib//Misc.pm line 220


NIC dodac nic ujac .... ??  //  ??

w lini 220 znajduje sie "end BEGIN"

Offline

 

#5  2008-12-06 17:27:56

  giegiel - Członek DUG

giegiel
Członek DUG
Skąd: Chrzypsko Wielkie/Poznań
Zarejestrowany: 2006-04-15

Re: Lstat...

Podepnę się i odkopię temat bo mam takowy problem z lstat:
./configure --apache --with-httpdconf=/etc/apache2/apache2.conf

Kod:

INFO: Using ${APACHE_RUN_USER} and ${APACHE_RUN_GROUP} as WWW Server user and group
INFO: /etc/apache2/apache2.conf can be updated for LinuxStat directives

make install

Kod:

Instaling  library files...
Instaling  config files...
/bin/sh: line 0: test: =: unary operator expected
/usr/bin/install: błędna grupa `-o'
make: *** [install_files] Błąd 1

a make nic nie wyrzuca ;) Debian lenny 2.6.26-1-686 a lstat w wersji 2.3.2. googlowałem i nic nie znalazłem ;/

Offline

 

#6  2009-01-12 21:37:03

  peadyr - Użytkownik

peadyr
Użytkownik
Skąd: Chełmno
Zarejestrowany: 2008-05-26

Re: Lstat...

giegiel  -  miałem dziś identyczny problem. Dałem:

Kod:

./configure --iso-8859-2 --no-lock
 --with-www=/var/www/lstat --with-httpdconf=/etc/apache2/apache2.conf --with-lstatconf=/etc/apache2/lstat.conf
 --with-wwwgroup=www-data --with-wwwuser=www-data

Pojawił się jeszcze problem - w przeglądarce pojawiała mi się niezinterpretowana treść pliku lstat.cgi. Zorientowałem się, że plik lstat.conf nie został dołączony do konfiguracji apache2. Dopisałem więc w pliku /etc/apache2/httpd.conf:

Kod:

Include /etc/apache2/lstat.conf

i było już OK — moim oczom ukazały się statystyki servera :) :)

Przydatne linki:
http://newbie.linux.pl/?id=article&show=217
http://www.trzepak.pl/viewtopic.php?t=17841
+ oczywiście FAQ "Szybka instalacja lstat" na dug.net.pl i strona lstata na sourceforge.

Pozdrawiam.

Ostatnio edytowany przez peadyr (2009-01-13 08:03:42)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)