Fragen und Bugs

User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Fragen und Bugs

Post by Tass »

Code: Select all

bugfix; spaces_in_filenames
  Erlaube Leerzeichnen beim Upload via DCC
Funzt nicht....
nicht bei mir...

spaces_in_filenames ist im configfile gesetzt.
Falls du da nochmal drübergucken könntest....
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Da muss du schon genauer sagen was passiert.
z.bB. Welcher Client und das IRC log dazu.

Wen der iroffer mit Konsole gestartet ist, kann man mit "debug1" verfolgen
welche "DCC" kommandos gesendet werden ....

Diese Information wird gebraucht.
mfg Dinoex
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Code: Select all

** 2008-03-31-11:09:41: <QUEN<: NOTICE SpamScanner :VERSION iroffer-dinoex 3.6, http://iroffer.dinoex.net/
---------snip--------------
** 2008-03-31-11:10:20: >IRC>: 1, :irc5.otakubox.de PONG irc5.otakubox.de :irc5.otakubox.de
** 2008-03-31-11:10:28: >IRC>: 1, :Tass!tass@Tass.auf.otakubox.de NOTICE XDCC|Tass :DCC Send [Tass]Magical Girl Lyrical Nanoha StrikerS 25 [H264-Ger][4CF68DBA].mkv (213.39.185.184)
** 2008-03-31-11:10:28: NOTICE on otakubox.de: :Tass!tass@Tass.auf.otakubox.de NOTICE XDCC|Tass :DCC Send [Tass]Magical Girl Lyrical Nanoha StrikerS 25 [H264-Ger][4CF68DBA].mkv (213.39.185.184)
** 2008-03-31-11:10:28: >IRC>: 1, :Tass!tass@Tass.auf.otakubox.de PRIVMSG XDCC|Tass :DCC SEND [Tass]Magical_Girl_Lyrical_Nanoha_StrikerS_25_[H264-Ger][4CF68DBA].mkv 3576150456 45021 175428022
** 2008-03-31-11:10:28: disk_free= 407035904, required= 0
** 2008-03-31-11:10:28: DCC Send Accepted from Tass on otakubox.de: [Tass]Magical_Girl_Lyrical_Nanoha_StrikerS_25_[H264-Ger][4CF68DBA].mkv (171316KB)
** 2008-03-31-11:10:28: <QUEN<: NOTICE Tass :DCC Send Accepted, Connecting...
** 2008-03-31-11:10:28: Upload Connection Established on otakubox.de
** 2008-03-31-11:10:28: <QUEN<: NOTICE Tass :DCC Connection Established
** 2008-03-31-11:10:29: <IRC<: 1, NOTICE Tass :DCC Send Accepted, Connecting...
** 2008-03-31-11:10:29: <IRC<: 1, NOTICE Tass :DCC Connection Established
** 2008-03-31-11:10:30: <SND<: 1: PING irc5.otakubox.de
** 2008-03-31-11:10:30: >IRC>: 1, :irc5.otakubox.de PONG irc5.otakubox.de :irc5.otakubox.de
** 2008-03-31-11:10:31: Upload: Connection closed: Connection Lost
** 2008-03-31-11:10:31: clientsock = 7
** 2008-03-31-11:10:31: <QUEN<: NOTICE Tass :** Closing Upload Connection: Connection Lost
** 2008-03-31-11:10:32: <IRC<: 1, NOTICE Tass :** Closing Upload Connection: Connection Lost
** 2008-03-31-11:10:32: >IRC>: 2, :XDCC|bossmaniac!~bossmania@euirc-27890827.dip0.t-ipconnect.de JOIN :#anime-fansubs
---------snip--------------

--------Mirc-Teil--------------
Mirc
[11:12] -XDCC|Tass- DCC Send Accepted, Connecting...
-
[11:12] DCC Send of [Tass]Magical Girl Lyrical Nanoha StrikerS 25 [H264-Ger][4CF68DBA].mkv to XDCC|Tass incomplete (00:00:03 22.1 KB/Sec)
Ich hoffe, ich habe alles wesentliche erfasst. Viel mehr Informationen lassen sich nicht finden.

Client ist Windows Mirc 6.2
Server Linux/reiserfs Fedora core 6 mit 2.6 Kernel

Edit: nach update auf neuste mirc version 6.31 geht es immernoch nicht.

Edit2:
mit XChat geht es. Das Probelm scheint also Mirc zu sein, der automatisch alle leerzeichen durch _ ersetzt. lässt sich auch leider nicht abstellen.
es ist also kein problem mit deinem bot, sondern ein problem von mirc.... jetzt brauche ich nur noch einen guten irc client -.-


Edit3:
Also zusammenfassend:
Mirc ersetzt beim hochladen (ich rede nur vom hochladen, runterladen funktioniert mit allen clients so, wie die datei auf dem server heißt) alle leerzeichen durch unterstriche "_".
Hydrairc ersetzt alle leerzeichen durch punkte "."
Xchat läd als einziges die dateien so hoch, wie sie auch bei mir auf der platte sind (mit leerzeichen).
FYI
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Der Upload geht aber trotzdem, richtig?

Auch mit MIRC soll das gehren, Dazu muss man "escaping" irgendwo aktivieren.
mfg Dinoex
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Ja, der Upload geht trotzdem.

Mit Escaping gibts bei Mirc nichts, ich habe das Optionsmenü hundertmal umgegraben...
...doch nun bin ich einmal über folgenden Dialog gestolpert, der erscheint, wenn man eine Datei senden möchte
Image

Und siehe da, es geht sogar mit Mirc.
Ob Hydrairc ein ähnlich gut getarntes Kästchen hat, kann ich jetzt nicht sagen ;)
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Das fällt jetzt unter Spielerei und bedarf keiner intensiver Fehlersuche....
Aber falls wer eine Idee hat, nehme ich sie gerne dankend an

Code: Select all

Configure for iroffer-dinoex 3.8
Determining OS... SunOS
Configuring without HTTP Server.
Configuring without HTTP Admin.
Configuring without Telent Server.
Configuring without blowfish encryption.
Checking for make... found make
Checking for gcc/cc... found gcc
Seeing if gcc works... yes
Seeing if gcc accepts '-Wall'... yes
Seeing if gcc accepts '-Werror'... yes
Seeing how to define a 16 bit integer... short
Seeing how to define a 32 bit integer... int
Seeing how to define a 64 bit integer... long long
Seeing if compiling with standard #include's works... looks good
Seeing how large FD_SETSIZE is...  1024
Determining endianness... little
Seeing if large file support works... yes
Determing the signedness of 'addrlen'... signed
Seeing how to display long long using printf... ll
Checking for snprintf()... found
Checking for strcasecmp()... found
Checking for strsignal()... found
Seeing if 'sys/mman.h' exists... not found
Seeing if 'sys/sendfile.h' exists... found
Seeing if 'sys/vfs.h' exists... found
Seeing if 'sys/statfs.h' exists... found
Seeing if 'sys/param.h' exists... found
Seeing if 'sys/mount.h' exists... found
Seeing if 'sys/statvfs.h' exists... found
Checking for statvfs()... found
Checking for statfs()... missing
Seeing if 'crypt.h' is needed... needed
Seeing if '-lcrypt' is needed... not needed
Seeing if crypt() works as expected... yes
Checking for chroot()... found
Seeing if NSS libraries exist (for chroot)... missing
Checking for setuid()... found
Checking for getgrouplist()... missing, group list will be incorrect when setuid()-ing
Checking for mmap()/munmap()... missing, won't use mmap()
Checking for name of fd limit... RLIMIT_NOFILE
Checking for siginfo_t/sa_sigaction... found
Checking for si_code values... found
Checking for wait status values... found
Seeing if TOS can be set for IP sockets... yes
Checking for getaddrinfo ... found
Checking for gethostbyname error values... found
Seeing if OpenSSL libraries exist... found
Configuring for OpenSSL.
Creating src/iroffer_config.h... Done
Creating Makefile... Done

Type "make" to compile
No errors or warnings should appear when compiling, if they do, something is wrong

mkdir -p obj
touch obj/.mkdir
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_admin.o src/iroffer_admin.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_dccchat.o src/iroffer_dccchat.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_display.o src/iroffer_display.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_main.o src/iroffer_main.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/plumb_md5.o src/plumb_md5.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_misc.o src/iroffer_misc.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_statefile.o src/iroffer_statefile.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_transfer.o src/iroffer_transfer.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/iroffer_upload.o src/iroffer_upload.c
gcc -c -Isrc -I/usr/local/include/ -Wall -O2 -o obj/dinoex_admin.o src/dinoex_admin.c
src/dinoex_admin.c: In function `queue_host_remove':
src/dinoex_admin.c:507: error: `FNM_CASEFOLD' undeclared (first use in this function)
src/dinoex_admin.c:507: error: (Each undeclared identifier is reported only once
src/dinoex_admin.c:507: error: for each function it appears in.)
src/dinoex_admin.c: In function `a_add2':
src/dinoex_admin.c:1602: error: `FNM_CASEFOLD' undeclared (first use in this function)
src/dinoex_admin.c: In function `a_adddir_sub':
src/dinoex_admin.c:1703: error: `FNM_CASEFOLD' undeclared (first use in this function)
src/dinoex_admin.c: In function `a_bann_hostmask':
src/dinoex_admin.c:3003: error: `FNM_CASEFOLD' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `obj/dinoex_admin.o'
fnmatch ist im System vorhanden.
Andere Programme (configure) prüfen auch auf fnmatch und sagen, es ist vorhanden.
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

was sagt:

Code: Select all

grep -r FNM_CASEFOLD /usr/include
Wird das gefunden?
mfg Dinoex
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Nope, Banane, nirgends zu finden.

Das von Haus aus mitgelieferte grep kennt nichteinmal -r
auch dein Configure script läuft mit der /bin/sh nicht. Erst nach umstellen auf vorinstallierte bash3.0 läuft das durch.

Und auch jetzt, wo ich zwei dutzent neuer pakete installiert habe, ist es nirgends auffindbar...
Weder unter /usr/local noch sonst wo (/usr/ccs, /usr/sfw....)
gcc version ist die 3.4.6
alle pakete habe ich mir hier her gesaugt als fertige pakete... ich werd nun nochmal in der glibc2.7 und nem 4.x gcc suchen, ob ich da fündig werde... irgendwo muss der kram ja sein
User avatar
Devil Doll
Kámi-sama
Kámi-sama
Posts: 584
Joined: 30.12.2007 00:18
Gruppe: Devil Doll
Contact:

Re: Fragen und Bugs

Post by Devil Doll »

Tass, hast Du eine Datei /usr/include/fnmatch.h auf Deinem Rechner?
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Bitte mal 3.10 beta 4 testen ....

dort habe ich eingebaut:

#define FNM_CASEFOLD FNM_IGNORECASE
mfg Dinoex
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Ähm ja, mal weiter im Text....
fehler behoben, neuer fehler aufgetaucht.

Code: Select all

mkdir -p obj
touch obj/.mkdir
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_admin.o src/iroffer_admin.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_dccchat.o src/iroffer_dccchat.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_display.o src/iroffer_display.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_main.o src/iroffer_main.c
gcc -c -Isrc  -Wall -O2 -o obj/plumb_md5.o src/plumb_md5.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_misc.o src/iroffer_misc.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_statefile.o src/iroffer_statefile.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_transfer.o src/iroffer_transfer.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_upload.o src/iroffer_upload.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_admin.o src/dinoex_admin.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_misc.o src/dinoex_misc.c
src/dinoex_misc.c: In function `identify_check':
src/dinoex_misc.c:1024: Warnung: implizite Deklaration der Funktion »strcasestr«
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_http.o src/dinoex_http.c
src/dinoex_http.c: In function `get_url_param':
src/dinoex_http.c:1451: Warnung: implizite Deklaration der Funktion »strcasestr«
src/dinoex_http.c:1451: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
src/dinoex_http.c: In function `h_admin_auth':
src/dinoex_http.c:1676: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_upload.o src/dinoex_upload.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_transfer.o src/dinoex_transfer.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_geoip.o src/dinoex_geoip.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_ssl.o src/dinoex_ssl.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_curl.o src/dinoex_curl.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_irc.o src/dinoex_irc.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_queue.o src/dinoex_queue.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_telnet.o src/dinoex_telnet.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_badip.o src/dinoex_badip.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_jobs.o src/dinoex_jobs.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_ruby.o src/dinoex_ruby.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_config.o src/dinoex_config.c
gcc -c -Isrc  -Wall -O2 -o obj/crc32.o src/crc32.c
gcc -c -Isrc  -Wall -O2 -o obj/upnp.o src/upnp.c
gcc -c -Isrc  -Wall -O2 -o obj/blowfish.o src/blowfish.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_utilities.o src/iroffer_utilities.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_utilities.o src/dinoex_utilities.c
gcc -O2 obj/iroffer_admin.o obj/iroffer_dccchat.o obj/iroffer_display.o obj/iroffer_main.o obj/plumb_md5.o obj/iroffer_misc.o obj/iroffer_statefile.o obj/iroffer_transfer.o obj/iroffer_upload.o obj/dinoex_admin.o obj/dinoex_misc.o obj/dinoex_http.o obj/dinoex_upload.o obj/dinoex_transfer.o obj/dinoex_geoip.o obj/dinoex_ssl.o obj/dinoex_curl.o obj/dinoex_irc.o obj/dinoex_queue.o obj/dinoex_telnet.o obj/dinoex_badip.o obj/dinoex_jobs.o obj/dinoex_ruby.o obj/dinoex_config.o obj/crc32.o obj/upnp.o obj/blowfish.o obj/iroffer_utilities.o obj/dinoex_utilities.o  -lsocket -lnsl -o iroffer
Undefiniertes			erstmals referenziert
 Symbol  			    in Datei
strcasestr                          obj/dinoex_misc.o 
hstrerror                           obj/dinoex_irc.o 
ld: Schwerer Fehler: Symbolreferenzierungsfehler. Keine Ausgabe in iroffer geschrieben
collect2: ld gab 1 als Ende-Status zurück
make: *** [iroffer] Error 1

So wie ich mich das erste mal verrannt habe, so komme ich auch diesmal nicht auf des rätsels lösung...
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Tass wrote: src/dinoex_misc.c:1024: Warnung: implizite Deklaration der Funktion »strcasestr«
src/dinoex_http.c:1451: Warnung: implizite Deklaration der Funktion »strcasestr«
Undefiniertes erstmals referenziert
Symbol in Datei
strcasestr obj/dinoex_misc.o
hstrerror obj/dinoex_irc.o
Danke.
- »strcasestr« wird jetzt geprüft.
- Für hstrerror wird jetzt eine weitere Bibliothek eingebunden.

Bitte 3.10. Beta 16 testen.
mfg Dinoex
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Irgendwas stimmt da nicht in Beta16
Hier mal beide Configure (ohne parameter) zum Vergleich

3.10 Beta 16

Code: Select all

Configure for iroffer-dinoex 3.10 Beta16
Determining OS... SunOS
Checking for make... found make
Checking for gcc/cc... found gcc
Seeing if gcc works... yes
Seeing if gcc accepts '-Wall'... yes
Seeing if gcc accepts '-Werror'... yes
Seeing how to define a 16 bit integer... Unknown. ***ERROR***: neither short or int worked.
Seeing how to define a 32 bit integer... Unknown. ***ERROR***: neither short, int, long or long long worked.
Seeing how to define a 64 bit integer... Unknown. ***ERROR***: neither short, int, long or long long worked.
Seeing if compiling with standard #include's works...  ***ERROR***: couldn't build with standard #include's
Seeing how large FD_SETSIZE is...  1024
Determining endianness... Unknown. ***ERROR***
Seeing if large file support works... No.  Max filesize will be 2GB.
Determing the signedness of 'addrlen'... Unknown. ***ERROR***: neither signed or unsigned worked.
Seeing how to display long long using printf... Unknown. ***ERROR***: neither ll, l, or L worked.
Checking for snprintf()... missing, will emulate
Checking for strcasecmp()... missing, will emulate
Checking for strcasestr()... missing, will emulate
Checking for strsignal()... missing, will emulate
Seeing if 'sys/mman.h' exists... not found
Seeing if 'sys/sendfile.h' exists... not found
Seeing if 'sys/vfs.h' exists... not found
Seeing if 'sys/statfs.h' exists... not found
Seeing if 'sys/param.h' exists... not found
Seeing if 'sys/mount.h' exists... not found
Seeing if 'sys/statvfs.h' exists... not found
Checking for statvfs()... missing
Checking for statfs()... missing
Seeing if 'crypt.h' is needed... Missing. ***ERROR***: couldn't find crypt() with or without crypt.h
Seeing if '-lcrypt' is needed... Neither!
Seeing if '-lcrypto' works instead... Missing. ***ERROR***: couldn't link with or without -lcrypt or -lcrypto
Seeing if crypt() works as expected... no, will disable encrypted passwords
Checking for chroot()... missing, will desactivate chroot()-ing
Seeing if NSS libraries exist (for chroot)... missing
Checking for setuid()... missing, will desactivate setuid()-ing
Checking for getgrouplist()... missing, group list will be incorrect when setuid()-ing
Checking for mmap()/munmap()... missing, won't use mmap()
Checking for name of fd limit... neither work, thats not good
Checking for siginfo_t/sa_sigaction... missing, will use lame signal handlers
Checking for si_code values... missing, won't report si_codes
Checking for wait status values... missing, won't report wait status codes
Seeing if TOS can be set for IP sockets... no
Checking for getaddrinfo ... missing, will use gethostbyname instead
Checking for gethostbyname error values... missing, won't report error codes
Seeing if OpenSSL libraries exist... not found
***Disabled the SSL Features. If u want to use this feature, please install OpenSSL.***
Creating src/iroffer_config.h... Done
Creating Makefile... Done

!!!!!WARNING!!!!!  one or more errors occured, guesses for those values that failed were included.
You should re-run Configure with the 'errors' arguemnt to see the details.

Type "make" to compile
No errors or warnings should appear when compiling, if they do, something is wrong

3.10 Beta 12

Code: Select all

Configure for iroffer-dinoex 3.10 Beta12
Determining OS... SunOS
Checking for make... found make
Checking for gcc/cc... found gcc
Seeing if gcc works... yes
Seeing if gcc accepts '-Wall'... yes
Seeing if gcc accepts '-Werror'... yes
Seeing how to define a 16 bit integer... short
Seeing how to define a 32 bit integer... int
Seeing how to define a 64 bit integer... long long
Seeing if compiling with standard #include's works... looks good
Seeing how large FD_SETSIZE is...  1024
Determining endianness... little
Seeing if large file support works... yes
Determing the signedness of 'addrlen'... signed
Seeing how to display long long using printf... ll
Checking for snprintf()... found
Checking for strcasecmp()... found
Checking for strsignal()... found
Seeing if 'sys/mman.h' exists... not found
Seeing if 'sys/sendfile.h' exists... found
Seeing if 'sys/vfs.h' exists... found
Seeing if 'sys/statfs.h' exists... found
Seeing if 'sys/param.h' exists... found
Seeing if 'sys/mount.h' exists... found
Seeing if 'sys/statvfs.h' exists... found
Checking for statvfs()... found
Checking for statfs()... missing
Seeing if 'crypt.h' is needed... needed
Seeing if '-lcrypt' is needed... not needed
Seeing if crypt() works as expected... yes
Checking for chroot()... found
Seeing if NSS libraries exist (for chroot)... missing
Checking for setuid()... found
Checking for getgrouplist()... missing, group list will be incorrect when setuid()-ing
Checking for mmap()/munmap()... missing, won't use mmap()
Checking for name of fd limit... RLIMIT_NOFILE
Checking for siginfo_t/sa_sigaction... found
Checking for si_code values... found
Checking for wait status values... found
Seeing if TOS can be set for IP sockets... yes
Checking for getaddrinfo ... found
Checking for gethostbyname error values... found
Seeing if OpenSSL libraries exist... not found
***Disabled the SSL Features. If u want to use this feature, please install OpenSSL.***
Creating src/iroffer_config.h... Done
Creating Makefile... Done

Type "make" to compile
No errors or warnings should appear when compiling, if they do, something is wrong

In der Beta16 findet er auf einmal überhapt nichts mehr
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Tippfehler in Configure (Beta17 ist da)
mfg Dinoex
User avatar
Tass
Moderator
Moderator
Posts: 173
Joined: 29.12.2007 16:37
Contact:

Re: Fragen und Bugs

Post by Tass »

Beta 18 funzt einwandfrei.
./Configure && make gibt das aus:

Code: Select all

Configure for iroffer-dinoex 3.10 Beta18
Determining OS... SunOS
Checking for make... found make
Checking for gcc/cc... found gcc
Seeing if gcc works... yes
Seeing if gcc accepts '-Wall'... yes
Seeing if gcc accepts '-Werror'... yes
Seeing how to define a 16 bit integer... short
Seeing how to define a 32 bit integer... int
Seeing how to define a 64 bit integer... long long
Seeing if compiling with standard #include's works... looks good
Seeing how large FD_SETSIZE is...  1024
Determining endianness... little
Seeing if large file support works... yes
Determing the signedness of 'addrlen'... signed
Seeing how to display long long using printf... ll
Checking for snprintf()... found
Checking for strcasecmp()... found
Checking for strcasestr()... missing, will emulate
Checking for strsignal()... found
Seeing if 'sys/mman.h' exists... not found
Seeing if 'sys/sendfile.h' exists... found
Seeing if 'sys/vfs.h' exists... found
Seeing if 'sys/statfs.h' exists... found
Seeing if 'sys/param.h' exists... found
Seeing if 'sys/mount.h' exists... found
Seeing if 'sys/statvfs.h' exists... found
Checking for statvfs()... found
Checking for statfs()... missing
Seeing if 'crypt.h' is needed... needed
Seeing if '-lcrypt' is needed... not needed
Seeing if crypt() works as expected... yes
Checking for chroot()... found
Seeing if NSS libraries exist (for chroot)... missing
Checking for setuid()... found
Checking for getgrouplist()... missing, group list will be incorrect when setuid()-ing
Checking for mmap()/munmap()... missing, won't use mmap()
Checking for name of fd limit... RLIMIT_NOFILE
Checking for siginfo_t/sa_sigaction... found
Checking for si_code values... found
Checking for wait status values... found
Seeing if TOS can be set for IP sockets... yes
Checking for getaddrinfo ... found
Checking for gethostbyname error values... found
Seeing if OpenSSL libraries exist... not found
***Disabled the SSL Features. If u want to use this feature, please install OpenSSL.***
Creating src/iroffer_config.h... Done
Creating Makefile... Done

Type "make" to compile
No errors or warnings should appear when compiling, if they do, something is wrong

mkdir -p obj
touch obj/.mkdir
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_admin.o src/iroffer_admin.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_dccchat.o src/iroffer_dccchat.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_display.o src/iroffer_display.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_main.o src/iroffer_main.c
gcc -c -Isrc  -Wall -O2 -o obj/plumb_md5.o src/plumb_md5.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_misc.o src/iroffer_misc.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_statefile.o src/iroffer_statefile.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_transfer.o src/iroffer_transfer.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_upload.o src/iroffer_upload.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_admin.o src/dinoex_admin.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_misc.o src/dinoex_misc.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_http.o src/dinoex_http.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_upload.o src/dinoex_upload.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_transfer.o src/dinoex_transfer.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_geoip.o src/dinoex_geoip.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_ssl.o src/dinoex_ssl.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_curl.o src/dinoex_curl.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_irc.o src/dinoex_irc.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_queue.o src/dinoex_queue.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_telnet.o src/dinoex_telnet.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_badip.o src/dinoex_badip.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_jobs.o src/dinoex_jobs.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_ruby.o src/dinoex_ruby.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_config.o src/dinoex_config.c
gcc -c -Isrc  -Wall -O2 -o obj/crc32.o src/crc32.c
gcc -c -Isrc  -Wall -O2 -o obj/upnp.o src/upnp.c
gcc -c -Isrc  -Wall -O2 -o obj/blowfish.o src/blowfish.c
gcc -c -Isrc  -Wall -O2 -o obj/iroffer_utilities.o src/iroffer_utilities.c
gcc -c -Isrc  -Wall -O2 -o obj/dinoex_utilities.o src/dinoex_utilities.c
gcc -O2 obj/iroffer_admin.o obj/iroffer_dccchat.o obj/iroffer_display.o obj/iroffer_main.o obj/plumb_md5.o obj/iroffer_misc.o obj/iroffer_statefile.o obj/iroffer_transfer.o obj/iroffer_upload.o obj/dinoex_admin.o obj/dinoex_misc.o obj/dinoex_http.o obj/dinoex_upload.o obj/dinoex_transfer.o obj/dinoex_geoip.o obj/dinoex_ssl.o obj/dinoex_curl.o obj/dinoex_irc.o obj/dinoex_queue.o obj/dinoex_telnet.o obj/dinoex_badip.o obj/dinoex_jobs.o obj/dinoex_ruby.o obj/dinoex_config.o obj/crc32.o obj/upnp.o obj/blowfish.o obj/iroffer_utilities.o obj/dinoex_utilities.o  -lsocket -lnsl -lresolv -o iroffer
Besten Dank
User avatar
chibi`
Anime Gucker
Anime Gucker
Posts: 52
Joined: 03.01.2008 17:47
Gruppe: Tsukikage

Re: Fragen und Bugs

Post by chibi` »

Irgendwie scheint der Bot ständig der Auffassung zu sein, dass libcurl3 mit GNU TLS installiert, obwohl dem nicht der Fall ist.

Code: Select all

Seeing if libcurl libraries exist (for the FETCH-Command)... found
Notice: Your libcurl is linked with GNU TLS.
Seeing if OpenSSL libraries exist... found
Configuring for OpenSSL.
*** Your libcurl is linked with GNU TLS, Please configure GNU TLS.
Also

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Package libcurl3-gnutls is not installed
Dafür aber eben libcurl3-openssl - Mysteriös
Nyo mit ./Configure -c -no-openssl && ./Lang de && make hat ers dann wenigstens gemacht. Ist mir jetzt auch nicht besonders wichtig. Und vllt. liegt es doch irgendwie an mir.
Image
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Was sagt den:

Code: Select all

ldd /usr/lib/libcurl*
mfg Dinoex
User avatar
chibi`
Anime Gucker
Anime Gucker
Posts: 52
Joined: 03.01.2008 17:47
Gruppe: Tsukikage

Re: Fragen und Bugs

Post by chibi` »

Code: Select all

/usr/lib/libcurl.a:
        not a dynamic executable
/usr/lib/libcurl.la:
        not a dynamic executable
/usr/lib/libcurl.so:
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7f93000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7f17000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7ef1000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7eee000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7ee9000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7ed6000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb7ea6000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7ea2000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7e62000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7d28000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d14000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7be2000)
        /lib/ld-linux.so.2 (0xb7feb000)
/usr/lib/libcurl.so.3:
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7f93000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7f17000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7ef1000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7eee000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7ee9000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7ed6000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb7ea6000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7ea2000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7e62000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7d28000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d14000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7be2000)
        /lib/ld-linux.so.2 (0xb7feb000)
/usr/lib/libcurl.so.3.0.0:
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb7f93000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7f16000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7ef1000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7eee000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7ee9000)
        libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7ed6000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb7ea6000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb7ea2000)
        libssl.so.0.9.8 => /usr/lib/i686/cmov/libssl.so.0.9.8 (0xb7e62000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7d28000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7d14000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7be2000)
        /lib/ld-linux.so.2 (0xb7feb000)
Image
User avatar
dinoex
Fan-Sub.de TEAM
Fan-Sub.de TEAM
Posts: 620
Joined: 29.12.2007 06:56
Location: Habichtswald
Contact:

Re: Fragen und Bugs

Post by dinoex »

Danke!

Das /lib/tls/ hat gestört.

In 3.10 beta20 ist das gefixt.
mfg Dinoex
aIRC
Senpai
Senpai
Posts: 143
Joined: 19.01.2008 23:58
Location: Padeborn
Contact:

Re: Fragen und Bugs

Post by aIRC »

Müsste der auch unter Vista 64bit laufen?

Bekomme nur einer Todesschleife in der immer ein neuer Prozess erstellt wird der dann abstürzt. Hab die config aus dem wiki einfach übernommen.

Code: Select all

Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. Alle Rechte vorbehalten.

G:\iroffer_win32bin_1.4.b03\iroffer1.4.b03>iroffer.exe config.config

Welcome to iroffer by PMG - http://iroffer.org/
Version 1.4.b03 [20051213024435]

** iroffer is distributed under the GNU General Public License.
**    please see the README for more information.

** Starting up...
** Window Size: 80x24
** Started on: 2008-09-02-20:41:31
** Loading config.config ...
** WARNING: Ignored invalid line in config file: group_seperator
** WARNING: Ignored invalid line in config file: http_vhost
** WARNING: Ignored invalid line in config file: http_vhost
** WARNING: Ignored invalid line in config file: http_search
** WARNING: Ignored invalid line in config file: weblist_info
** WARNING: Ignored invalid line in config file: weblist_info
** WARNING: Ignored invalid line in config file: weblist_info
** WARNING: Ignored invalid line in config file: weblist_info
** WARNING: Ignored invalid line in config file: weblist_info
** WARNING: Ignored invalid line in config file: telnet_vhost
** WARNING: Ignored invalid line in config file: telnet_vhost
** WARNING: Ignored invalid line in config file: network
** WARNING: Ignored invalid line in config file: {
** WARNING: Ignored invalid line in config file: }
** WARNING: Ignored invalid line in config file: network
** WARNING: Ignored invalid line in config file: {
** WARNING: Ignored invalid line in config file: }
** WARNING: Ignored invalid line in config file: noautorejoin
** WARNING: Ignored invalid line in config file: noduplicatefiles
** WARNING: Ignored invalid line in config file: auto_default_group
** WARNING: Ignored invalid line in config file: auto_path_group
** WARNING: Ignored invalid line in config file: auto_crc_check
** WARNING: Ignored invalid line in config file: autocrc_exclude
** WARNING: Ignored invalid line in config file: autocrc_exclude
** WARNING: Ignored invalid line in config file: adddir_exclude
** WARNING: Ignored invalid line in config file: adddir_exclude
** WARNING: Ignored invalid line in config file: announce_seperator
** WARNING: Ignored invalid line in config file: atfind
** WARNING: Ignored invalid line in config file: ignoreuploadbandwidth
** WARNING: Ignored invalid line in config file: extend_status_line
** WARNING: Ignored invalid line in config file: max_uploads
** Checking for completeness of config file ...
** You Are Running CYGWIN_??-6.0 1.5.18(0.132/4/2) on a x86_64, Good
** Loading State File...
**   [Written on 2008-09-02-20:38:28]
**   [Done]
** Writing pid file...
G:\iroffer_win32bin_1.4.b03\iroffer1.4.b03\iroffer.exe (988): *** cygheap base m
ismatch detected - 0x0/0x611548E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
    571 [main] iroffer 3632 fork_parent: child 988 died waiting for longjmp befo
re initialization
** Attempting Connection to irc.otakubox.de:6667 (direct)
** WARNING: fork(): No error
** Window Size Changed To: 80x25
G:\iroffer_win32bin_1.4.b03\iroffer1.4.b03\iroffer.exe (1224): *** cygheap base
mismatch detected - 0x0/0x611548E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
9921382 [main] iroffer 3632 fork_parent: child 1224 died waiting for longjmp bef
ore initialization
** Attempting Connection to irc.otakubox.de:6667 (direct)
** WARNING: fork(): No child processes
G:\iroffer_win32bin_1.4.b03\iroffer1.4.b03\iroffer.exe (1144): *** cygheap base
mismatch detected - 0x0/0x611548E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
43114691 [main] iroffer 3632 fork_parent: child 1144 died waiting for longjmp be
fore initialization
** Attempting Connection to irc.euirc.net:6667 (direct)
** WARNING: fork(): No child processes
G:\iroffer_win32bin_1.4.b03\iroffer1.4.b03\iroffer.exe (3184): *** cygheap base
mismatch detected - 0x0/0x611548E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
65819255 [main] iroffer 3632 fork_parent: child 3184 died waiting for longjmp be
fore initialization
** WARNING: System Time Changed Forward or Mainloop Skipped 0m 30s!!

** Attempting Connection to irc.otakubox.de:6667 (direct)
** WARNING: fork(): No child processes
G:\iroffer_win32bin_1.4.b03\iroffer1.4.b03\iroffer.exe (1032): *** cygheap base
mismatch detected - 0x0/0x611548E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests