Ircd compilation problem

Support for services available to Shell account users.

Moderator: Moderators

Ircd compilation problem

Postby Spy » Sat Aug 12, 2006 9:24 pm

Hello,
i have a strange error during compiling:
Code: Select all
compiling TRE regex library
make  all-recursive
make[1]: Entering directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2'
Making all in lib
make[2]: Entering directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
make  all-am
make[3]: Entering directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.     -O1 -fomit-frame-pointer -Wall -MT tre-ast.lo -MD -MP -MF ".deps/tre-ast.Tpo" -c -o tre-ast.lo tre-ast.c; \
then mv -f ".deps/tre-ast.Tpo" ".deps/tre-ast.Plo"; else rm -f ".deps/tre-ast.Tpo"; exit 1; fi
../libtool: fork: Resource temporarily unavailable
make[3]: *** [tre-ast.lo] Error 1
make[3]: Leaving directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2'
make: *** [all] Error 2

What can you suggest me on that?

P.S. Great thanks to Z for temporarily raising the disk quota.
If you want something done well - do yourself.
Spy
Member
 
Posts: 30
Joined: Sat Jan 28, 2006 2:52 am
Location: Russian Federation, Stupino

Postby sjaz » Sat Aug 12, 2006 11:04 pm

Hi,

Which server? - Also, I am assuming thats 3.2.5 you are putting on there? Did you ask for zlib/ssl/ipv6?

A paste of your ./configure script would be great.

Regards,

Chaz/Sjaz
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby Spy » Sat Aug 12, 2006 11:17 pm

Yeah, you`re right, sjaz. I`m compiling unrealircd 3.2.5 on debian with support for SSL, ZIPlinks and remote includes (i think that libcurl is the problem). heres the /Config output:
Code: Select all
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking if gcc has a working -pipe... yes
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for touch... /usr/bin/touch
checking for openssl... /usr/bin/openssl
checking for install... /usr/bin/install
checking for gmake... make
checking for gmake... no
checking for gunzip... /bin/gunzip
checking for pkg-config... /usr/bin/pkg-config
checking for crypt in -ldescrypt... no
checking for crypt in -lcrypt... yes
checking for socket in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdlib.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for int16_t... yes
checking for u_int16_t... yes
checking for int32_t... yes
checking for u_int32_t... yes
checking for rlim_t... no
checking size of rlim_t... 0
checking what kind of nonblocking sockets you have... O_NONBLOCK
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for working alloca.h... yes
checking for alloca... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strlcpy... no
checking for strlcat... no
checking for strlncat... no
checking for inet_pton... yes
checking for inet_ntop... yes
checking if C99 variable length arrays are supported... yes
checking if we can set the core size to unlimited... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for getrusage... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking for pstat... no
checking what type of signals you have... POSIX
checking for strtoken... no
checking for strtok... yes
checking for strerror... yes
checking for index... yes
checking for strtoul... yes
checking for bcopy... yes
checking for bcmp... yes
checking for bzero... yes
checking for strcasecmp... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for inet_netof... yes
checking for syslog... yes
checking for vsyslog... yes
checking for openssl... found in /usr/include/openssl
checking for zlib... found in /usr
./configure: line 1: /usr/lib/bin/curl-config: No such file or directory
./configure: line 1: /usr/lib/bin/curl-config: No such file or directory
checking for dlopen... no
checking for dlopen in -ldl... yes
checking if we need the -export-dynamic flag... yes
checking for compiler option to produce PIC... -fPIC -DPIC -shared
checking if your system prepends an underscore on symbols... no
checking if FD_SETSIZE is large enough to allow 100 file descriptors... yes
extracting TRE regex library
configuring TRE regex library
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for the best optimization flags... -O1 -fomit-frame-pointer
checking for C compiler warning flags... -Wall
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long... yes
checking for isascii... yes
checking for isblank... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating tre.pc
config.status: creating tre.spec
config.status: creating doc/agrep.1
config.status: creating config.h
config.status: creating lib/tre-config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


Configuration summary
=====================

TRE is now configured as follows:

* Compilation environment

  CC       = gcc
  CFLAGS   = -O1 -fomit-frame-pointer -Wall
  CPP      = gcc -E
  CPPFLAGS =
  LD       = /usr/bin/ld
  LDFLAGS  =
  LIBS     =
  Use alloca():                       yes

* TRE options

  Development-time debugging:         no
  System regex ABI compatibility:     no
  Wide character (wchar_t) support:   no (disabled with --disable-wchar)
  Multibyte character set support:    no (disabled with --disable-multibyte)
  Approximate matching support:       yes
  Build and install agrep:            no

compiling TRE regex library
make  all-recursive
make[1]: Entering directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2'
Making all in lib
make[2]: Entering directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
make  all-am
make[3]: Entering directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.     -O1 -fomit-frame-pointer -Wall -MT tre-ast.lo -MD -MP -MF ".deps/tre-ast.Tpo" -c -o tre-ast.lo tre-ast.c; \
then mv -f ".deps/tre-ast.Tpo" ".deps/tre-ast.Plo"; else rm -f ".deps/tre-ast.Tpo"; exit 1; fi
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
: ignoring unknown tag
../libtool: fork: Resource temporarily unavailable
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
../libtool: fork: Resource temporarily unavailable
: compile: cannot determine name of library object from `'
make[3]: *** [tre-ast.lo] Error 1
make[3]: Leaving directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/s/spy/Unreal3.2/extras/tre-0.7.2'
make: *** [all] Error 2

Sorry for a huge paste.
If you want something done well - do yourself.
Spy
Member
 
Posts: 30
Joined: Sat Jan 28, 2006 2:52 am
Location: Russian Federation, Stupino

Postby sjaz » Sat Aug 12, 2006 11:23 pm

Hi Spy,

I had just posted to say it compiled successfully on redhat but noticed you are indeed using Debian.

Sadly, I don't have a shell on there, or if I do, I don't know my login for it. I shall speak to Zoli on that one.

It looks like two problems, libcurl and a restriction being met with regarding to forking rights, this is probably something Zoli can temporarily relax.

He will see this post no doubt and hopefully advise.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby Spy » Sat Aug 12, 2006 11:28 pm

Thanks for the immediate reply :) I truly hope that this issue can be solved, because that shell is a big part of what I have on the net and I have already asked zoli to raise my quota, so i feel a little confused :)
If you want something done well - do yourself.
Spy
Member
 
Posts: 30
Joined: Sat Jan 28, 2006 2:52 am
Location: Russian Federation, Stupino

Postby sjaz » Sun Aug 13, 2006 9:18 am

The quota is a quota on hard disk space since unreal is such a stupidly huge ircd. - There are other quota's per say which include cpu time, memory etc, and I believe that is where you are having an issue.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby Spy » Mon Aug 14, 2006 12:20 pm

Hmm is there anything can be done, or should I give up that idea?
If you want something done well - do yourself.
Spy
Member
 
Posts: 30
Joined: Sat Jan 28, 2006 2:52 am
Location: Russian Federation, Stupino

Postby uroskn_redhat » Tue Aug 15, 2006 12:31 am

Spy: Read my signature. However i'm sure all will be sorted out. .)

Maybe i can try to compile it at home, for you. I did this for mine. I coulnd compile it at polarhome so i compiled it at home :)

Do i need to have a debian OS or it's enough to compile it at fedora and run it on a debian? Kernel is the same right (2.6.x).

Well... I'm still a newbie... :? But i'm trying to help.
You cant fail unless you quit.
User avatar
uroskn_redhat
Junior Member
 
Posts: 24
Joined: Wed Oct 19, 2005 1:50 am
Location: Slovenija, Slovenske Konjice, Kajuhova X ;-)

Postby Spy » Tue Aug 15, 2006 12:25 pm

Thanks, but I think its no use. I have a debian machine at home and I theoretically could do everything here, but when the ircd is being compiled with SSL support, it generates a certificate that I think is unique for every machine. If its not, I`ll compile it at home.
If you want something done well - do yourself.
Spy
Member
 
Posts: 30
Joined: Sat Jan 28, 2006 2:52 am
Location: Russian Federation, Stupino

Postby sjaz » Tue Aug 15, 2006 12:55 pm

Hi,

Unfortunately, I do not have a shell on debian so I cannot test. A certificate generated at home won't work. You need Zoli to look at the forking issue.

Also, compiling on any other machine letalone fedora will not work as libraries will be in different places.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby zoli » Wed Aug 16, 2006 12:21 pm

hi,

sorry for late reply :(

fork problem exists because of process number limit that was 15 and I raised it for all debian users.

You can find curl-config at /usr/bin/curl-config

Good luck.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 784
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby sjaz » Wed Aug 16, 2006 1:41 pm

Brilliant Z, thanks.
User avatar
sjaz
Forum Admin
Forum Admin
 
Posts: 694
Joined: Fri Feb 14, 2003 11:08 pm
Location: London, UK

Postby Spy » Thu Aug 17, 2006 2:16 pm

Thanks, zoli. Everything compiled ok. The disk quota can be lowered back to normal now.
Sorry for disturbing.
If you want something done well - do yourself.
Spy
Member
 
Posts: 30
Joined: Sat Jan 28, 2006 2:52 am
Location: Russian Federation, Stupino


Return to Shell accounts

Who is online

Users browsing this forum: No registered users and 16 guests

cron