Discussion:
[Aide] problem compiling AIDE on top of AIX
Rami Lehti
2011-08-03 07:55:37 UTC
Permalink
There's something wrong with your gcc installation. Some of its components are missing. Your gcc can't create any binaries.

Rami

--
Vapaa Internet ry
Hallituksen pj vuodesta 1998 :)

Avrahami David <David.Avrahami at comverse.com> kirjoitti:

I?ve installed gcc from the GNU portal, now running configure fails with the following error:



blockbaster:root:/tmp/aide/aide-0.15.1> ./configure

checking build system type... powerpc-ibm-aix5.3.0.0

checking host system type... powerpc-ibm-aix5.3.0.0

checking target system type... powerpc-ibm-aix5.3.0.0

checking for a BSD-compatible install... /opt/freeware/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /opt/freeware/bin/mkdir -p

checking for gawk... no

checking for mawk... no

checking for nawk... nawk

checking whether make sets $(MAKE)... yes

checking for gcc... gcc

checking whether the C compiler works... no

configure: error: in `/tmp/aide/aide-0.15.1':

configure: error: C compiler cannot create executables

See `config.log' for more details



~~~~~~

more config.log

.

.

.

configure:3432: checking whether the C compiler works

configure:3454: gcc conftest.c >&5

gcc: error trying to exec 'cc1': execvp: No such file or directory

configure:3458: $? = 1

configure:3496: result: no

configure: failed program was:

| /* confdefs.h */

| #define PACKAGE_NAME "aide"

| #define PACKAGE_TARNAME "aide"

| #define PACKAGE_VERSION "0.15.1"

| #define PACKAGE_STRING "aide 0.15.1"

| #define PACKAGE_BUGREPORT ""

| #define PACKAGE_URL ""

| #define PACKAGE "aide"

| #define VERSION "0.15.1"

| #define AIDEVERSION "0.15.1"

| /* end confdefs.h. */

|

| int

| main ()

| {

|

| ;

| return 0;

| }



.

.

.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~



I?ll appreciate if one of the AIDE developers could help on compiling the code on AIX 5.3 release.



Thanks,

David



From: aide-bounces at cs.tut.fi [mailto:aide-bounces at cs.tut.fi] On Behalf Of Rami Lehti
Sent: Tuesday, July 26, 2011 7:32 PM
To: Aide user mailinglist
Subject: Re: [Aide] problem compiling AIDE on top of AIX



I'd say the solution is the same with this one. Try using gcc.

Rami
--
Vapaa Internet ry
Hallituksen pj vuodesta 1998 :)

Avrahami David <David.Avrahami at comverse.com> kirjoitti:

Hi Rami,

Thanks you for the help, I installed the GNU M4 but now I'm getting the following error:

blockbaster:root:/tmp/aide/aide-0.15.1> make
make all-recursive
Making all in include
Target "all" is up to date.
Making all in src
bison -y -d -o conf_yacc.c -p conf conf_yacc.y
make all-am
source='aide.c' object='aide.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../depcomp cc -qlanglvl=extc89 -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS -W -Wall -g -g -c aide.c
cc: 1501-208 command option W is missing a subargument
make: 1254-004 The error code from the last command is 40.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-

004 The

error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.




Thanks,
David

-----Original Message-----
From: aide-bounces at cs.tut.fi [mailto:aide-bounces at cs.tut.fi] On Behalf Of Rami Lehti
Sent: Tuesday, July 26, 2011 2:27 PM
To: Aide user mailinglist
Subject: Re: [Aide] problem compiling AIDE on top of AIX

You should try installing GNU m4 instead the version you have.

Kind regards,
Rami Lehti
Hi,
I?ve downloaded the AIDE 0.15.1 sources and trying to compile it on top
of AIX 5.3
bison-2.5-1.aix5.1.ppc.rpm
flex-2.5.35-1.aix5.1.ppc.rpm
gettext-0.10.40-8.aix5.2.ppc.rpm
libsigsegv-2.10-1.aix5.2.ppc.rpm
m4-1.4.16-1.aix5.1.ppc.rpm
mhash-0.9.2-1.aix5.1.ppc.rpm
./configure --with-gnu-regexp --prefix=/usr --sysconfdir=/etc
--mandir=/usr/man --without-zlib --build=powerpc
blockbaster:root:/tmp/aide/aide-0.15.1> make
make all-recursive
Making all in include
Target "all" is up to date.
Making all in src
bison -y -d -o conf_yacc.c -p conf conf_yacc.y
/usr/bin/m4: Not a recognized flag: -
Usage: m4 [-els] [-B Number] [-D Name[=Value]]... [-H Number]
[-I Directory] [-S Number] [-T Number] [-U Name]... [File...]
make: 1254-059 The signal code from the last command is 13.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
--------------------------
Any clue what?s the problem here?
Thanks,
David
_____________________________________________
?This e-mail message may contain confidential, commercial or privileged
information that constitutes proprietary information of Comverse
Technology or its subsidiaries. If you are not the intende
d

recipient of
this message, you are hereby notified that any review, use or
distribution of this information is absolutely prohibited and we request
security at comverse.com. Thank You.?
_____________________________________________
Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide
_____________________________________________

Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide

?This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Technology or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information

is

absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security at comverse.com. Thank You.?

_____________________________________________

Aide mailing list
Aide at cs.tut.fi
https://mailman.cs.tut.fi/mailman/listinfo/aide


_____________________________________________
?This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Technology or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security at comverse.com. Thank You.?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.cs.tut.fi/pipermail/aide/attachments/20110803/5b6ef086/attachment-0001.html
Loading...