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...

[quote=bolos_11]" Permission denied " ...  /usr/local/lstat/lib//Misc.pm line 220


NIC dodac nic ujac .... ??  //  ??[/quote]
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:
[url]http://newbie.linux.pl/?id=article&show=217[/url]
[url]http://www.trzepak.pl/viewtopic.php?t=17841[/url]
+ 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 ;-)

[ Generated in 0.008 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00098 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.219.25.226' WHERE u.id=1
0.00079 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.219.25.226', 1732965049)
0.00042 SELECT * FROM punbb_online WHERE logged<1732964749
0.00044 SELECT topic_id FROM punbb_posts WHERE id=78955
0.00104 SELECT id FROM punbb_posts WHERE topic_id=10117 ORDER BY posted
0.00057 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=10117 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00076 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=10117 ORDER BY p.id LIMIT 0,25
0.00075 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=10117
Total query time: 0.00597 s