Problem setting up IROFFER in MacOS X

Discuss installation and usage of the packages from macosx.forked.net.

Problem setting up IROFFER in MacOS X

Postby Maaij » Mon May 31, 2004 8:41 pm

Hi

I want to set up a Bot with iroffer. The problem is I dont exacly know how to do it. I download the latest version of iroffer and followed the mini guide.

I cant conpile itand get a few error:
'cant make and gmake'
'cant find gcc'

Anyone know to fix it?

hope any1 can help me
Maaij
 
Posts: 2
Joined: Mon May 31, 2004 7:00 pm

Re: Problem setting up IROFFER in MacOS X

Postby <bounty> » Tue Jun 01, 2004 7:04 am

install dev tools
<bounty>
 

Re: Problem setting up IROFFER in MacOS X

Postby Maaij » Tue Jun 01, 2004 7:16 am

ok I just install the dev tools

But I am getting many errors now:

With ./configure

Configure for iroffer 1.3.b07-lamm.b02 [20040406152029]
Determining OS... Darwin
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 strsignal()... missing, will emulate
Checking for regcomp()... Missing. ***ERROR***: couldn't find regcomp()
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()
Transfer method is... read/write
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
Creating src/iroffer_config.h... Done
Creating Makefile... Done

!!!!!WARNING!!!!! one or more errors occured, guesses for those values that failed were included.
You may need to manually edit the first 6 lines of the makefile to remove defines or libraries

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

With make
mkdir -p obj
gcc -c -Isrc -Wall -O2 -o obj/convertxdccfile.o src/convertxdccfile.c
In file included from src/convertxdccfile.c:21:
src/iroffer_headers.h:54:19: crypt.h: No such file or directory
In file included from src/iroffer_headers.h:98,
from src/convertxdccfile.c:21:
src/iroffer_md5.h:34: error: parse error before "ir_uint32"
src/iroffer_md5.h:34: warning: no semicolon at end of struct or union
src/iroffer_md5.h:35: warning: type defaults to `int' in declaration of `bytes'
src/iroffer_md5.h:35: warning: data definition has no type or storage class
src/iroffer_md5.h:36: error: parse error before "in"
src/iroffer_md5.h:36: warning: type defaults to `int' in declaration of `in'
src/iroffer_md5.h:36: warning: data definition has no type or storage class
src/iroffer_md5.h:37: error: parse error before '}' token
In file included from src/convertxdccfile.c:21:
src/iroffer_headers.h:564: error: conflicting types for `strsignal'
/usr/include/string.h:117: error: previous declaration of `strsignal'
In file included from src/convertxdccfile.c:22:
src/iroffer_globals.h:228: error: field `md5sum' has incomplete type
make: *** [obj/convertxdccfile.o] Error 1

Dont know what the problem is?
Maaij
 
Posts: 2
Joined: Mon May 31, 2004 7:00 pm

Re: Problem setting up IROFFER in MacOS X

Postby <nubley> » Wed May 25, 2005 3:28 am

I get similar errors:

<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>Determining OS... Darwin
Checking for make... found make
Checking for gcc/cc... found gcc
Checking standard #include's... ./Configure: line 138: config.temp.c: Permission denied
./Configure: line 142: config.error.1: Permission denied
***ERROR***: couldn't build with standard #include's, errors have been placed in the file config.error.1
Checking for signedness of addrlen... ./Configure: line 159: config.temp.c: Permission denied
./Configure: line 167: config.error.2: Permission denied
./Configure: line 168: config.error.2: Permission denied
./Configure: line 169: config.error.2: Permission denied
./Configure: line 170: config.error.2: Permission denied
Unknown. ***ERROR***: neither signed or unsigned worked, errors have been placed in the file config.error.2
Checking for snprintf()... ./Configure: line 184: config.temp.c: Permission denied
missing, will emulate
Checking for regcomp()... ./Configure: line 200: config.temp.c: Permission denied
./Configure: line 204: config.error.3: Permission denied
Missing. ***ERROR***: couldn't find regcomp(), errors have been placed in the file config.error.3
Seeing if crypt.h is needed... ./Configure: line 217: config.temp.c: Permission denied
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
Creating Makefile... cp: Makefile: Permission denied
./Configure: line 266: Makefile: Permission denied
Done

!!!!!WARNING!!!!! one or more errors occured, guesses for those values that failed were included.
You may need to manually edit the first 6 lines of the makefile to remove defines or libraries

Type "make" to compile
No errors or warnings should appear when compiling, if they do, something is wrong</pre>[/quote]
<nubley>
 


Return to Ported Packages

Who is online

Users browsing this forum: No registered users and 7 guests

cron