Skip to main content

Thread: What problem with "make"


i have build apache-1.3.41 on linux. did succesfull before configure:

# ./configure --prefix=/usr --sbindir=/usr/sbin --libexecdir=/usr/lib/apache --sysconfdir=/etc/apache --includedir=/usr/include/apache --datadir=/var/www --localstatedir=/var/www --logfiledir=/var/log/apache --runtimedir=/var/run --enable-module=so --disable-module=auth_db --disable-module=auth_dbm

but, after have other installation test (php, httpd-2.x, etc), try reinstall apache-1.3.41, got errors. simple config:

# ./configure --prefix=$home/apache_1 --enable-module=so
-> it's succesful, run make cmd

# make
-> it's got errors:

===> src
make[1]: entering directory `/home/trongvn/meisei/apache_1.3.41'
make[2]: entering directory `/home/trongvn/meisei/apache_1.3.41/src'
===> src/regex
gcc -i. -i../os/unix -i../include -dlinux=22 -dhave_set_dumpable -duse_hsregex -duse_expat -i../lib/expat-lite -dno_dl_needed `../apaci` -dposix_mistake -c -o regcomp.o regcomp.c
gcc -i. -i../os/unix -i../include -dlinux=22 -dhave_set_dumpable -duse_hsregex -duse_expat -i../lib/expat-lite -dno_dl_needed `../apaci` -dposix_mistake -c -o regexec.o regexec.c
gcc -i. -i../os/unix -i../include -dlinux=22 -dhave_set_dumpable -duse_hsregex -duse_expat -i../lib/expat-lite -dno_dl_needed `../apaci` -dposix_mistake -c -o regerror.o regerror.c
gcc -i. -i../os/unix -i../include -dlinux=22 -dhave_set_dumpable -duse_hsregex -duse_expat -i../lib/expat-lite -dno_dl_needed `../apaci` -dposix_mistake -c -o regfree.o regfree.c
rm -f libregex.a
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
*** buffer overflow detected ***: ar terminated
======= backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0x33fdf0]
/lib/i386-linux-gnu/libc.so.6(+0xe4cca)[0x33ecca]
/lib/i386-linux-gnu/libc.so.6(+0xe43c8)[0x33e3c8]
/lib/i386-linux-gnu/libc.so.6(_io_default_xsputn+0x95)[0x2c37e5]
/lib/i386-linux-gnu/libc.so.6(_io_padn+0xc8)[0x2b7598]
/lib/i386-linux-gnu/libc.so.6(_io_vfprintf+0x1cd5)[0x298e35]
/lib/i386-linux-gnu/libc.so.6(__vsprintf_chk+0xad)[0x33e47d]
/lib/i386-linux-gnu/libc.so.6(__sprintf_chk+0x2d)[0x33e3bd]
ar[0x804ec04]
ar[0x8050d38]
ar[0x80585c2]
ar[0x804b452]
ar[0x804c3fd]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xe7)[0x270e37]
ar[0x80494c1]
======= memory map: ========
0023c000-00258000 r-xp 00000000 08:01 918324 /lib/i386-linux-gnu/ld-2.13.so
00258000-00259000 r--p 0001b000 08:01 918324 /lib/i386-linux-gnu/ld-2.13.so
00259000-0025a000 rw-p 0001c000 08:01 918324 /lib/i386-linux-gnu/ld-2.13.so
0025a000-003b4000 r-xp 00000000 08:01 918337 /lib/i386-linux-gnu/libc-2.13.so
003b4000-003b5000 ---p 0015a000 08:01 918337 /lib/i386-linux-gnu/libc-2.13.so
003b5000-003b7000 r--p 0015a000 08:01 918337 /lib/i386-linux-gnu/libc-2.13.so
003b7000-003b8000 rw-p 0015c000 08:01 918337 /lib/i386-linux-gnu/libc-2.13.so
003b8000-003bb000 rw-p 00000000 00:00 0
005f8000-005f9000 r-xp 00000000 00:00 0 [vdso]
006ec000-00706000 r-xp 00000000 08:01 918365 /lib/i386-linux-gnu/libgcc_s.so.1
00706000-00707000 r--p 00019000 08:01 918365 /lib/i386-linux-gnu/libgcc_s.so.1
00707000-00708000 rw-p 0001a000 08:01 918365 /lib/i386-linux-gnu/libgcc_s.so.1
08048000-080b5000 r-xp 00000000 08:01 2290982 /usr/local/bin/ar
080b5000-080b6000 r--p 0006c000 08:01 2290982 /usr/local/bin/ar
080b6000-080b7000 rw-p 0006d000 08:01 2290982 /usr/local/bin/ar
080b7000-080bb000 rw-p 00000000 00:00 0
09eb4000-09ef1000 rw-p 00000000 00:00 0 [heap]
b750f000-b770f000 r--p 00000000 08:01 1974014 /usr/lib/locale/locale-archive
b770f000-b7710000 rw-p 00000000 00:00 0
b771e000-b771f000 rw-p 00000000 00:00 0
b771f000-b7720000 r--p 002a1000 08:01 1974014 /usr/lib/locale/locale-archive
b7720000-b7722000 rw-p 00000000 00:00 0
bfd7e000-bfd9f000 rw-p 00000000 00:00 0 [stack]
make[3]: *** [libregex.a] aborted
make[3]: *** deleting file `libregex.a'
make[2]: *** [subdirs] error 1
make[2]: leaving directory `/home/trongvn/meisei/apache_1.3.41/src'
make[1]: *** [build-std] error 2
make[1]: leaving directory `/home/trongvn/meisei/apache_1.3.41'
make: *** [build] error 2

please me check out! i'm newbie in linux

do have build it? sure getting apache package repositories won't enough you? (i mean, newbie , not, , never needed that).

right not seem easy debug going on, can part things fail:

code:
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o *** buffer overflow detected ***: ar terminated
it seems bad bug ar program. @ moment don't have lot of options, unfortunately. unless decide try repository (software center) instead.

edit: apache version attempting install have specific gcc , libc requirements? maybe don't match.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] What problem with "make"


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues