Freepops

17 risposte [Ultimo messaggio]
Ritratto di Lando
Lando
(Monster)
Offline
Monster
Iscritto: 04/08/2005
Messaggi: 213

Quote:

Madman ha scritto:
Mi permetto di aggiungere una terza opzione:

c) scaricate il pacchetto RPM sorgente (*.src.rpm) dal sito di FreePOPs e ricompilarlo con rpmbuild --rebuild freepops-0.0.31-1.src.rpm. Wink

Non ha funzionato....pero' mi accorgo di avere usato il src di Mandriva...volevi quello generico ?
Non esiste per caso un rpm di versione vecchia che mi vada su tranquillamente ? (ho mdk 10.0 ufficiale ) .
Ti allego il log...puo' aver lasciato dei casini ???
Grazie .

[root@localhost FREEPOP]# rpmbuild --rebuild freepops-0.0.31-3ddz.src.rpm
Installing freepops-0.0.31-3ddz.src.rpm
warning: user davidex does not exist - using root
warning: group davidex does not exist - using root
warning: user davidex does not exist - using root
warning: group davidex does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49878
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf freepops-0.0.31
+ /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/freepops-0.0.31.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd freepops-0.0.31
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.63542
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd freepops-0.0.31
+ ./configure.sh linux
+ make all WHERE=/usr/ 'FORCE_LINK=-L /tmp/freepops-expat/expat/.libs/'
building lua
building core library... done.
building standard library... done.
building lua... done.
building luac... done.
building bin2c... done.
building luay
compiling luay.c -> luay.o
linking libluay.a
building luabind
building dep for luabind.c
compiling luabind.c -> luabind.o
linking libluabind.a
building oscompatibility
building dep for win32_compatibility.c
building dep for c99_compatibility.c
building dep for beos_compatibility.c
compiling beos_compatibility.c -> beos_compatibility.o
compiling c99_compatibility.c -> c99_compatibility.o
compiling win32_compatibility.c -> win32_compatibility.o
linking liboscompatibility.a
building regularexp
building dep for regularexp.c
compiling regularexp.c -> regularexp.o
linking libregularexp.a
building log
compiling log.c -> log.o
linking liblog.a
building base64
building dep for base64.c
compiling base64.c -> base64.o
linking libbase64.a
building list
compiling list.c -> list.o
linking liblist.a
building mlex
building dep for mlex.c
compiling mlex.c -> mlex.o
linking libmlex.a
building pid
building dep for pid.c
compiling pid.c -> pid.o
linking libpid.a
building lock
building dep for lock.c
compiling lock.c -> lock.o
linking liblock.a
building dictionary
building dep for dictionary.c
compiling dictionary.c -> dictionary.o
linking libdictionary.a
building session
building dep for session.c
compiling session.c -> session.o
linking libsession.a
building portablesocket
building dep for socketcommon.c
building dep for altsocklib.c
compiling altsocklib.c -> altsocklib.o
compiling socketcommon.c -> socketcommon.o
linking libportablesocket.a
building pop3server
building dep for threads.c
building dep for popstate.c
building dep for popserver.c
compiling popserver.c -> popserver.o
compiling popstate.c -> popstate.o
compiling threads.c -> threads.o
linking libpop3server.a
building pop3server_lua
building dep for pop3server_lua.c
compiling pop3server_lua.c -> pop3server_lua.o
linking libpop3server_lua.a
building session_lua
building dep for session_lua.c
compiling session_lua.c -> session_lua.o
linking libsession_lua.a
building serialize_lua
building log_lua
building dep for log_lua.c
compiling log_lua.c -> log_lua.o
linking liblog_lua.a
building mlex_lua
building dep for mlex_lua.c
compiling mlex_lua.c -> mlex_lua.o
linking libmlex_lua.a
building support_lua
building getdate
compiling getdate.y -> getdate.o
linking libgetdate.a
building getdate_lua
building dep for getdate_lua.c
compiling getdate_lua.c -> getdate_lua.o
linking libgetdate_lua.a
building curl_lua
./find_curl.sh: line 1: curl-config: command not found
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
./find_curl.sh: line 1: curl-config: command not found
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
./find_curl.sh: line 1: curl-config: command not found
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
./find_curl.sh: line 1: curl-config: command not found
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
make[2]: *** No rule to make target `unable_to_find_curl.h_you_should_edit_by_hand_the_curl_lua/Makefile', needed by `curlopt.h'. Stop.
building freepopsd
/bin/sh: line 1: curl-config: command not found
make[1]: curl-config: Command not found
building dep for freepops.c
make[1]: curl-config: Command not found
building dep for engine.c
/bin/sh: line 1: curl-config: command not found
make[1]: curl-config: Command not found
compiling engine.c -> engine.o
make[1]: curl-config: Command not found
compiling freepops.c -> freepops.c:25:23: curl/curl.h: No such file or directory
freepops.c: In function `main':
freepops.c:444: warning: implicit declaration of function `curl_global_init'
freepops.c:444: error: `CURL_GLOBAL_ALL' undeclared (first use in this function)
freepops.c:444: error: (Each undeclared identifier is reported only once
freepops.c:444: error: for each function it appears in.)
make[1]: *** [freepops.o] Error 1
make: *** [src] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.63542 (%build)

RPM build errors:
user davidex does not exist - using root
group davidex does not exist - using root
user davidex does not exist - using root
group davidex does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.63542 (%build)
[root@localhost FREEPOP]#

Ritratto di Madman
Madman
(Guru)
Offline
Guru
Iscritto: 19/12/2004
Messaggi: 2016

Ti consiglio di lanciare un updatedb (da root) e di installare le libcurl-devel presenti per la tua versione di Mandriva. Wink

P.S. Il src di Mandriva dovrebbe andare bene ma se vuoi prova anche con quello generico. Wink

Ritratto di Lando
Lando
(Monster)
Offline
Monster
Iscritto: 04/08/2005
Messaggi: 213

Quote:

Madman ha scritto:
Ti consiglio di lanciare un updatedb (da root) e di installare le libcurl-devel presenti per la tua versione di Mandriva. Wink

P.S. Il src di Mandriva dovrebbe andare bene ma se vuoi prova anche con quello generico. Wink

Questo e' andato a buona fine.
Poi ho provato la reinstallazione del src ...ma (mi sembra...) fallita per le stesse librerie che occorrevano anche al binario.
Per riprovare con un binario versione piu' vecchia devo prima fare un updatedb ? (provo con un rpm binario generico per i386 sperando che MDK non si incavoli...) :-o Thinking

[lando@localhost FREEPOP]$ su
Password:
[root@localhost FREEPOP]# rpmbuild --rebuild freepops-0.0.31-3ddz.src.rpm
Installing freepops-0.0.31-3ddz.src.rpm
warning: user davidex does not exist - using root
warning: group davidex does not exist - using root
warning: user davidex does not exist - using root
warning: group davidex does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.21576
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf freepops-0.0.31
+ /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/freepops-0.0.31.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd freepops-0.0.31
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.74578
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd freepops-0.0.31
+ ./configure.sh linux
+ make all WHERE=/usr/ 'FORCE_LINK=-L /tmp/freepops-expat/expat/.libs/'
building lua
building core library... done.
building standard library... done.
building lua... done.
building luac... done.
building bin2c... done.
building luay
compiling luay.c -> luay.o
linking libluay.a
building luabind
building dep for luabind.c
compiling luabind.c -> luabind.o
linking libluabind.a
building oscompatibility
building dep for win32_compatibility.c
building dep for c99_compatibility.c
building dep for beos_compatibility.c
compiling beos_compatibility.c -> beos_compatibility.o
compiling c99_compatibility.c -> c99_compatibility.o
compiling win32_compatibility.c -> win32_compatibility.o
linking liboscompatibility.a
building regularexp
building dep for regularexp.c
compiling regularexp.c -> regularexp.o
linking libregularexp.a
building log
compiling log.c -> log.o
linking liblog.a
building base64
building dep for base64.c
compiling base64.c -> base64.o
linking libbase64.a
building list
compiling list.c -> list.o
linking liblist.a
building mlex
building dep for mlex.c
compiling mlex.c -> mlex.o
linking libmlex.a
building pid
building dep for pid.c
compiling pid.c -> pid.o
linking libpid.a
building lock
building dep for lock.c
compiling lock.c -> lock.o
linking liblock.a
building dictionary
building dep for dictionary.c
compiling dictionary.c -> dictionary.o
linking libdictionary.a
building session
building dep for session.c
compiling session.c -> session.o
linking libsession.a
building portablesocket
building dep for socketcommon.c
building dep for altsocklib.c
compiling altsocklib.c -> altsocklib.o
compiling socketcommon.c -> socketcommon.o
linking libportablesocket.a
building pop3server
building dep for threads.c
building dep for popstate.c
building dep for popserver.c
compiling popserver.c -> popserver.o
compiling popstate.c -> popstate.o
compiling threads.c -> threads.o
linking libpop3server.a
building pop3server_lua
building dep for pop3server_lua.c
compiling pop3server_lua.c -> pop3server_lua.o
linking libpop3server_lua.a
building session_lua
building dep for session_lua.c
compiling session_lua.c -> session_lua.o
linking libsession_lua.a
building serialize_lua
building log_lua
building dep for log_lua.c
compiling log_lua.c -> log_lua.o
linking liblog_lua.a
building mlex_lua
building dep for mlex_lua.c
compiling mlex_lua.c -> mlex_lua.o
linking libmlex_lua.a
building support_lua
building getdate
compiling getdate.y -> getdate.o
linking libgetdate.a
building getdate_lua
building dep for getdate_lua.c
compiling getdate_lua.c -> getdate_lua.o
linking libgetdate_lua.a
building curl_lua
compiling curl_lua.c -> curl_lua.o
linking libcurl_lua.a
building browser_lua
building stringhack_lua
building dep for stringhack_lua.c
building dep for lstringhack.c
compiling lstringhack.c -> lstringhack.o
compiling stringhack_lua.c -> stringhack_lua.o
linking libstringhack_lua.a
building portablesocket_lua
building dep for psock_lua.c
compiling psock_lua.c -> psock_lua.o
linking libportablesocket_lua.a
building base64_lua
building dep for base64_lua.c
compiling base64_lua.c -> base64_lua.o
linking libbase64_lua.a
building mimer_lua
building commonimpl_lua
building regularexp_lua
building dep for regularexp_lua.c
compiling regularexp_lua.c -> regularexp_lua.o
linking libregularexp_lua.a
building luaexpat
compiling lxplib.c -> lxplib.o
linking libluaexpat.a
building xmltables_lua
building httpmail_lua
building crypto_lua
building dep for crypto_lua.c
compiling crypto_lua.c -> crypto_lua.o
linking libcrypto_lua.a
building luafilesystem
compiling lfs.c -> lfs.o
linking libluafilesystem.a
building luadoc
building plugins2xml_lua
building version_comparer_lua
building updater_lua
building xml2tex_lua
building freepopsd
building dep for freepops.c
building dep for engine.c
compiling engine.c -> engine.o
compiling freepops.c -> freepops.o
compiling luabox.c -> luabox.o
linking freepopsd
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.41812
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd freepops-0.0.31
+ rm -rf /var/tmp/freepops-0.0.31-3ddz-buildroot
+ mkdir -p /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/bin/
+ mkdir -p /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/man/man1/
+ mkdir -p /var/tmp/freepops-0.0.31-3ddz-buildroot/etc/init.d/
+ mkdir -p /var/tmp/freepops-0.0.31-3ddz-buildroot/etc/rc3.d
+ mkdir -p /var/tmp/freepops-0.0.31-3ddz-buildroot/etc/sysconfig/
+ make install DESTDIR=/var/tmp/freepops-0.0.31-3ddz-buildroot WHERE=/usr/
building lua
building luay
building luabind
building oscompatibility
building regularexp
building log
building base64
building list
building mlex
building pid
building lock
building dictionary
building session
building portablesocket
building pop3server
building pop3server_lua
building session_lua
building serialize_lua
building log_lua
building mlex_lua
building support_lua
building getdate
building getdate_lua
building curl_lua
building browser_lua
building stringhack_lua
building portablesocket_lua
building base64_lua
building mimer_lua
building commonimpl_lua
building regularexp_lua
building luaexpat
building xmltables_lua
building httpmail_lua
building crypto_lua
building luafilesystem
building luadoc
building plugins2xml_lua
building version_comparer_lua
building updater_lua
building xml2tex_lua
building freepopsd
+ gzip -9 /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/man/man1/freepopsd.1
+ cp buildfactory/freepops.rc /var/tmp/freepops-0.0.31-3ddz-buildroot/etc/init.d/freepops
+ chmod a+x /var/tmp/freepops-0.0.31-3ddz-buildroot/etc/init.d/freepops
+ cp buildfactory/freepops.sysconfig /var/tmp/freepops-0.0.31-3ddz-buildroot/etc/sysconfig/freepops
+ mv /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops/MANUAL.txt /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ /usr/lib/rpm/brp-mandrake
Cleaning files...done
Compressing files...done
Stripping files...done
Relativisation of symlinks...done
Clean perl...done
Building libraries symlinks...done
Gprintifying init scripts...done
Processing files: freepops-0.0.31-3ddz
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.32690
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd freepops-0.0.31
+ DOCDIR=/var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ export DOCDIR
+ rm -rf /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ /bin/mkdir -p /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ cp -pr README /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ cp -pr ChangeLog /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ cp -pr COPYING /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ cp -pr AUTHORS /var/tmp/freepops-0.0.31-3ddz-buildroot/usr/share/doc/freepops-0.0.31
+ exit 0
Finding Provides: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-provides
Using BuildRoot: /var/tmp/freepops-0.0.31-3ddz-buildroot to search libs
Finding Requires: /usr/lib/rpm/filter.sh ' ' /usr/lib/rpm/find-requires /var/tmp/freepops-0.0.31-3ddz-buildroot i586
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(post): /bin/sh
Requires(preun): /bin/sh
Requires: bash libcrypto.so.0.9.7 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libcurl.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libexpat.so.0 libm.so.6 libm.so.6(GLIBC_2.0) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libssl.so.0.9.7 libz.so.1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/freepops-0.0.31-3ddz-buildroot
Wrote: /usr/src/RPM/RPMS/i586/freepops-0.0.31-3ddz.i586.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.40958
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd freepops-0.0.31
+ rm -rf /var/tmp/freepops-0.0.31-3ddz-buildroot
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.40958
+ umask 022
+ cd /usr/src/RPM/BUILD
+ rm -rf freepops-0.0.31
+ exit 0
[root@localhost FREEPOP]#
[root@localhost FREEPOP]#
[root@localhost FREEPOP]#

Ritratto di Madman
Madman
(Guru)
Offline
Guru
Iscritto: 19/12/2004
Messaggi: 2016

Facendo rpm -Uvh /usr/src/RPM/RPMS/i586/freepops-0.0.31-3ddz.i586.rpm cosa ti restituisce? Thinking

Hai provato a vedere se hai installato le libcurl3 con rpm -q libcurl3 oppure rpm -qa | grep -i curl | sort. (se il primo non restituisce output usa il secondo)

Ritratto di Lando
Lando
(Monster)
Offline
Monster
Iscritto: 04/08/2005
Messaggi: 213

Quote:

Madman ha scritto:
Facendo rpm -Uvh /usr/src/RPM/RPMS/i586/freepops-0.0.31-3ddz.i586.rpm cosa ti restituisce? Thinking

Hai provato a vedere se hai installato le libcurl3 con rpm -q libcurl3 oppure rpm -qa | grep -i curl | sort. (se il primo non restituisce output usa il secondo)

Ecco Qua >>>>>>>>

[root@localhost i586]# rpm -Uvh /usr/src/RPM/RPMS/i586/freepops-0.0.31-3ddz.i586.rpm
Preparing... ########################################### [100%]
1:freepops ########################################### [100%]

[root@localhost i586]# rpm -q libcurl3
package libcurl3 is not installed

[root@localhost i586]# rpm -qa
libcurl2-7.11.0-2mdk
libcurl2-devel-7.11.0-2mdk

La lista e' molto lunga e ti metto solo i riferimenti a "curl"
Wink

Ritratto di Madman
Madman
(Guru)
Offline
Guru
Iscritto: 19/12/2004
Messaggi: 2016

Congratulazioni il pacchetto è stato installato correttamente! Laughing

Ritratto di Lando
Lando
(Monster)
Offline
Monster
Iscritto: 04/08/2005
Messaggi: 213

Quote:

Madman ha scritto:
Congratulazioni il pacchetto è stato installato correttamente! Laughing

Le congratulazioni andrebbero tutte a te !
Ma.....

[root@localhost lando]# freepops
bash: freepops: command not found
[root@localhost lando]# which freepops
which: no freepops in (/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/b in:/usr/local/sbin)
:-o