* [LTP] Help compiling in AIX 6.1
@ 2013-06-11 20:37 Ismael Farfán
2013-06-12 6:51 ` Jan Stancek
2013-06-12 16:15 ` chrubis
0 siblings, 2 replies; 7+ messages in thread
From: Ismael Farfán @ 2013-06-11 20:37 UTC (permalink / raw)
To: ltp-list
Hello list
We have this AIX 6.1 box running LTP 2005-something. Now I'm trying to
compile 20130109 without much luck.
I'm running this without much luck:
./configure
gmake
Any ideas?
ltp-full-20130109/ ~$ gmake
/tmp/ltp-full-20130109/include/mk/env_pre.mk:100: -n: A file or
directory in the path name does not exist.
/tmp/ltp-full-20130109/include/mk/env_pre.mk:101: -n: A file or
directory in the path name does not exist.
/tmp/ltp-full-20130109/include/mk/automake.mk:115: target `-n' given
more than once in the same rule.
Makefile:107: warning: overriding commands for target `-n'
/tmp/ltp-full-20130109/include/mk/automake.mk:117: warning: ignoring
old commands for target `-n'
Makefile:182: warning: overriding commands for target `-n'
Makefile:107: warning: ignoring old commands for target `-n'
Makefile:188: warning: overriding commands for target `-n'
Makefile:182: warning: ignoring old commands for target `-n'
Makefile:187: target `-n' given more than once in the same rule.
Makefile:187: target `-n' given more than once in the same rule.
Makefile:187: target `-n' given more than once in the same rule.
Makefile:187: target `-n' given more than once in the same rule.
if git describe >/dev/null 2>&1; then \
git describe > "Version"; \
else \
cp VERSION "Version"; \
fi
gmake: Circular -n <- -n dependency dropped.
gmake: Circular -n <- -n dependency dropped.
gmake: Circular -n <- -n dependency dropped.
gmake: Circular -n <- -n dependency dropped.
gmake: Circular -n <- -n dependency dropped.
gmake: Circular -n <- -n dependency dropped.
install -m 00755 "/tmp/ltp-full-20130109/-n" "-n"
install: 0653-233 File 00755 was not found.
gmake: *** [-n] Error 2
--
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [LTP] Help compiling in AIX 6.1
2013-06-11 20:37 [LTP] Help compiling in AIX 6.1 Ismael Farfán
@ 2013-06-12 6:51 ` Jan Stancek
2013-06-12 14:34 ` Ismael Farfán
2013-06-12 16:15 ` chrubis
1 sibling, 1 reply; 7+ messages in thread
From: Jan Stancek @ 2013-06-12 6:51 UTC (permalink / raw)
To: Ismael Farfán; +Cc: ltp-list
----- Original Message -----
> From: "Ismael Farfán" <sulfurfff@gmail.com>
> To: ltp-list@lists.sourceforge.net
> Sent: Tuesday, 11 June, 2013 10:37:36 PM
> Subject: [LTP] Help compiling in AIX 6.1
>
> Hello list
>
> We have this AIX 6.1 box running LTP 2005-something. Now I'm trying to
> compile 20130109 without much luck.
>
> I'm running this without much luck:
>
> ./configure
> gmake
>
> Any ideas?
include/mk/env_pre.mk:100 is include of "$(abs_top_builddir)/include/mk/config.mk",
so I'm guessing something went wrong with ./configure.
Can you send output of "./configure"?
Regards,
Jan
>
>
>
> ltp-full-20130109/ ~$ gmake
> /tmp/ltp-full-20130109/include/mk/env_pre.mk:100: -n: A file or
> directory in the path name does not exist.
> /tmp/ltp-full-20130109/include/mk/env_pre.mk:101: -n: A file or
> directory in the path name does not exist.
> /tmp/ltp-full-20130109/include/mk/automake.mk:115: target `-n' given
> more than once in the same rule.
> Makefile:107: warning: overriding commands for target `-n'
> /tmp/ltp-full-20130109/include/mk/automake.mk:117: warning: ignoring
> old commands for target `-n'
> Makefile:182: warning: overriding commands for target `-n'
> Makefile:107: warning: ignoring old commands for target `-n'
> Makefile:188: warning: overriding commands for target `-n'
> Makefile:182: warning: ignoring old commands for target `-n'
> Makefile:187: target `-n' given more than once in the same rule.
> Makefile:187: target `-n' given more than once in the same rule.
> Makefile:187: target `-n' given more than once in the same rule.
> Makefile:187: target `-n' given more than once in the same rule.
> if git describe >/dev/null 2>&1; then \
> git describe > "Version"; \
> else \
> cp VERSION "Version"; \
> fi
> gmake: Circular -n <- -n dependency dropped.
> gmake: Circular -n <- -n dependency dropped.
> gmake: Circular -n <- -n dependency dropped.
> gmake: Circular -n <- -n dependency dropped.
> gmake: Circular -n <- -n dependency dropped.
> gmake: Circular -n <- -n dependency dropped.
> install -m 00755 "/tmp/ltp-full-20130109/-n" "-n"
> install: 0653-233 File 00755 was not found.
> gmake: *** [-n] Error 2
>
>
>
>
> --
> Do not let me induce you to satisfy my curiosity, from an expectation,
> that I shall gratify yours. What I may judge proper to conceal, does
> not concern myself alone.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] Help compiling in AIX 6.1
2013-06-12 6:51 ` Jan Stancek
@ 2013-06-12 14:34 ` Ismael Farfán
2013-06-12 15:47 ` Jan Stancek
0 siblings, 1 reply; 7+ messages in thread
From: Ismael Farfán @ 2013-06-12 14:34 UTC (permalink / raw)
To: Jan Stancek; +Cc: ltp-list
Thanks for the answer.
Since configure didn't fail I thought it didn't mind a few missing
headers. Here it is:
ltp-full-20130109/ ~$ ./configure
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... powerpc-ibm-aix6.1.0.0
checking host system type... powerpc-ibm-aix6.1.0.0
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for ar... ar
checking for flex... no
checking for lex... lex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... no
checking for ranlib... ranlib
checking for strip... strip
checking for bison... no
checking for byacc... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 dmapi.h usability... no
checking dmapi.h presence... no
checking for dmapi.h... no
checking ifaddrs.h usability... no
checking ifaddrs.h presence... no
checking for ifaddrs.h... no
checking libaio.h usability... no
checking libaio.h presence... no
checking for libaio.h... no
checking mm.h usability... no
checking mm.h presence... no
checking for mm.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
checking linux/genetlink.h usability... no
checking linux/genetlink.h presence... no
checking for linux/genetlink.h... no
checking linux/mempolicy.h usability... no
checking linux/mempolicy.h presence... no
checking for linux/mempolicy.h... no
checking linux/module.h usability... no
checking linux/module.h presence... no
checking for linux/module.h... no
checking linux/netlink.h usability... no
checking linux/netlink.h presence... no
checking for linux/netlink.h... no
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking sys/jfsdmapi.h usability... no
checking sys/jfsdmapi.h presence... no
checking for sys/jfsdmapi.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking for mkdtemp... yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking openssl/sha.h usability... yes
checking openssl/sha.h presence... yes
checking for openssl/sha.h... yes
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking sys/reg.h usability... yes
checking sys/reg.h presence... yes
checking for sys/reg.h... yes
checking asm/ptrace.h usability... no
checking asm/ptrace.h presence... no
checking for asm/ptrace.h... no
checking linux/ptrace.h usability... no
checking linux/ptrace.h presence... no
checking for linux/ptrace.h... no
checking for struct user_regs_struct... no
checking for struct pt_regs... no
checking whether PTRACE_GETSIGINFO is declared... no
checking whether PTRACE_O_TRACEVFORKDONE is declared... no
checking whether PTRACE_SETOPTIONS is declared... no
checking for fork... yes
checking for daemon... no
checking for vfork... yes
checking for sys/prctl.h... (cached) no
checking linux/securebits.h usability... no
checking linux/securebits.h presence... no
checking for linux/securebits.h... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking for struct sigaction.sa_sigaction... yes
checking for libaio.h... (cached) no
checking for modify_ldt... no
checking asm/ldt.h usability... no
checking asm/ldt.h presence... no
checking for asm/ldt.h... no
checking for linux/mempolicy.h... (cached) no
checking numa.h usability... no
checking numa.h presence... no
checking for numa.h... no
checking numaif.h usability... no
checking numaif.h presence... no
checking for numaif.h... no
configure: WARNING: Couldn't determine quota version (please submit
config.log and manpage to ltp-list@lists.sourceforge.net)
checking for signalfd... no
checking sys/signalfd.h usability... no
checking sys/signalfd.h presence... no
checking for sys/signalfd.h... no
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking for linux/signalfd.h... no
checking for signalfd.h... no
checking for unshare... no
checking for linux/taskstats.h... no
checking whether CLOCK_MONOTONIC_RAW is declared... no
checking whether CLOCK_REALTIME_COARSE is declared... no
checking whether CLOCK_MONOTONIC_COARSE is declared... no
checking whether MADV_MERGEABLE is declared... no
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for FS_IOC_GETFLAGS and FS_IOC_SETFLAGS in <linux/fs.h>... no
checking for MREMAP_FIXED in <sys/mman.h>... no
configure: creating ./config.status
config.status: creating include/mk/config.mk
config.status: creating include/mk/features.mk
config.status: creating lib/ltp.pc
config.status: creating ltp-devel.spec
config.status: creating m4/Makefile
config.status: creating execltp
config.status: creating README.ltp-devel
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
>
>
>
>
> ----- Original Message -----
>> To: ltp-list@lists.sourceforge.net
>> Sent: Tuesday, 11 June, 2013 10:37:36 PM
>> Subject: [LTP] Help compiling in AIX 6.1
>>
>> Hello list
>>
>> We have this AIX 6.1 box running LTP 2005-something. Now I'm trying to
>> compile 20130109 without much luck.
>>
>> I'm running this without much luck:
>>
>> ./configure
>> gmake
>>
>> Any ideas?
>
> include/mk/env_pre.mk:100 is include of "$(abs_top_builddir)/include/mk/config.mk",
> so I'm guessing something went wrong with ./configure.
> Can you send output of "./configure"?
>
> Regards,
> Jan
>
>>
>>
>>
>> ltp-full-20130109/ ~$ gmake
>> /tmp/ltp-full-20130109/include/mk/env_pre.mk:100: -n: A file or
>> directory in the path name does not exist.
>> /tmp/ltp-full-20130109/include/mk/env_pre.mk:101: -n: A file or
>> directory in the path name does not exist.
>> /tmp/ltp-full-20130109/include/mk/automake.mk:115: target `-n' given
>> more than once in the same rule.
>> Makefile:107: warning: overriding commands for target `-n'
>> /tmp/ltp-full-20130109/include/mk/automake.mk:117: warning: ignoring
>> old commands for target `-n'
>> Makefile:182: warning: overriding commands for target `-n'
>> Makefile:107: warning: ignoring old commands for target `-n'
>> Makefile:188: warning: overriding commands for target `-n'
>> Makefile:182: warning: ignoring old commands for target `-n'
>> Makefile:187: target `-n' given more than once in the same rule.
>> Makefile:187: target `-n' given more than once in the same rule.
>> Makefile:187: target `-n' given more than once in the same rule.
>> Makefile:187: target `-n' given more than once in the same rule.
>> if git describe >/dev/null 2>&1; then \
>> git describe > "Version"; \
>> else \
>> cp VERSION "Version"; \
>> fi
>> gmake: Circular -n <- -n dependency dropped.
>> gmake: Circular -n <- -n dependency dropped.
>> gmake: Circular -n <- -n dependency dropped.
>> gmake: Circular -n <- -n dependency dropped.
>> gmake: Circular -n <- -n dependency dropped.
>> gmake: Circular -n <- -n dependency dropped.
>> install -m 00755 "/tmp/ltp-full-20130109/-n" "-n"
>> install: 0653-233 File 00755 was not found.
>> gmake: *** [-n] Error 2
>>
>>
>>
>>
>> --
>> Do not let me induce you to satisfy my curiosity, from an expectation,
>> that I shall gratify yours. What I may judge proper to conceal, does
>> not concern myself alone.
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Ltp-list mailing list
>> Ltp-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/ltp-list
>>
--
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] Help compiling in AIX 6.1
2013-06-12 14:34 ` Ismael Farfán
@ 2013-06-12 15:47 ` Jan Stancek
2013-06-12 17:10 ` Ismael Farfán
0 siblings, 1 reply; 7+ messages in thread
From: Jan Stancek @ 2013-06-12 15:47 UTC (permalink / raw)
To: Ismael Farfán; +Cc: ltp-list
----- Original Message -----
> From: "Ismael Farfán" <sulfurfff@gmail.com>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp-list@lists.sourceforge.net
> Sent: Wednesday, 12 June, 2013 4:34:24 PM
> Subject: Re: [LTP] Help compiling in AIX 6.1
>
> Thanks for the answer.
>
> Since configure didn't fail I thought it didn't mind a few missing
> headers.
<SNIP>
Right, I also don't see anything suspicious. Your output shows
that include.mk is created, so the only other thing that comes to mind
is that $(abs_top_builddir) is wrong.
You can try making change according to diff below and re-running gmake.
If everything works OK, this should be warning with path: /tmp/ltp-full-20130109
diff --git a/include/mk/env_pre.mk b/include/mk/env_pre.mk
index f1584a8..1d284ea 100644
--- a/include/mk/env_pre.mk
+++ b/include/mk/env_pre.mk
@@ -74,6 +74,8 @@ else
abs_top_builddir := $(abspath $(top_builddir))
endif
+$(warning abs dirs: $(abs_top_srcdir) $(abs_top_builddir))
+
# Where's the root object directory?
builddir := .
Regards,
Jan
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [LTP] Help compiling in AIX 6.1
2013-06-12 15:47 ` Jan Stancek
@ 2013-06-12 17:10 ` Ismael Farfán
2013-06-12 20:11 ` chrubis
0 siblings, 1 reply; 7+ messages in thread
From: Ismael Farfán @ 2013-06-12 17:10 UTC (permalink / raw)
To: Jan Stancek; +Cc: ltp-list
>
> ----- Original Message -----
>> Cc: ltp-list@lists.sourceforge.net
>> Sent: Wednesday, 12 June, 2013 4:34:24 PM
>> Subject: Re: [LTP] Help compiling in AIX 6.1
>>
>> Thanks for the answer.
>>
>> Since configure didn't fail I thought it didn't mind a few missing
>> headers.
>
> <SNIP>
>
> Right, I also don't see anything suspicious. Your output shows
> that include.mk is created, so the only other thing that comes to mind
> is that $(abs_top_builddir) is wrong.
>
> You can try making change according to diff below and re-running gmake.
> If everything works OK, this should be warning with path: /tmp/ltp-full-20130109
>
> diff --git a/include/mk/env_pre.mk b/include/mk/env_pre.mk
> index f1584a8..1d284ea 100644
> --- a/include/mk/env_pre.mk
> +++ b/include/mk/env_pre.mk
> @@ -74,6 +74,8 @@ else
> abs_top_builddir := $(abspath $(top_builddir))
> endif
>
> +$(warning abs dirs: $(abs_top_srcdir) $(abs_top_builddir))
> +
> # Where's the root object directory?
> builddir := .
>
> Regards,
> Jan
I'm using gmake 3.8
I got this new line from gmake after the patch:
/tmp/ltp-full-20130109/include/mk/env_pre.mk:77: abs dirs: -n
/tmp/ltp-full-20130109 -n /tmp/ltp-full-20130109
The appended "-n" looks kind of suspicious?
Cheers
--
Do not let me induce you to satisfy my curiosity, from an expectation,
that I shall gratify yours. What I may judge proper to conceal, does
not concern myself alone.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] Help compiling in AIX 6.1
2013-06-12 17:10 ` Ismael Farfán
@ 2013-06-12 20:11 ` chrubis
0 siblings, 0 replies; 7+ messages in thread
From: chrubis @ 2013-06-12 20:11 UTC (permalink / raw)
To: Ismael Farf??n; +Cc: ltp-list
Hi!
> > --- a/include/mk/env_pre.mk
> > +++ b/include/mk/env_pre.mk
> > @@ -74,6 +74,8 @@ else
> > abs_top_builddir := $(abspath $(top_builddir))
> > endif
> >
> > +$(warning abs dirs: $(abs_top_srcdir) $(abs_top_builddir))
> > +
> > # Where's the root object directory?
> > builddir := .
> >
> > Regards,
> > Jan
>
> I'm using gmake 3.8
>
> I got this new line from gmake after the patch:
> /tmp/ltp-full-20130109/include/mk/env_pre.mk:77: abs dirs: -n
> /tmp/ltp-full-20130109 -n /tmp/ltp-full-20130109
>
> The appended "-n" looks kind of suspicious?
Looks like the -n gets there from scripts/abspath.sh that is used from
include/mk/functions.mk in MAKE_3_80_abspath which is used to emulate
abspath which is implemented in newer GNU make.
If I'm right fixing the script to call echo that supports -n or getting
GNU make that supports abspath should help.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [LTP] Help compiling in AIX 6.1
2013-06-11 20:37 [LTP] Help compiling in AIX 6.1 Ismael Farfán
2013-06-12 6:51 ` Jan Stancek
@ 2013-06-12 16:15 ` chrubis
1 sibling, 0 replies; 7+ messages in thread
From: chrubis @ 2013-06-12 16:15 UTC (permalink / raw)
To: Ismael Farf??n; +Cc: ltp-list
Hi!
> We have this AIX 6.1 box running LTP 2005-something. Now I'm trying to
> compile 20130109 without much luck.
>
> I'm running this without much luck:
>
> ./configure
> gmake
>
What is you gmake version? Note that we support 3.80 and newer.
Also running the LTP on AIX is not supported nor tested, so you are on
your own...
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-06-12 20:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11 20:37 [LTP] Help compiling in AIX 6.1 Ismael Farfán
2013-06-12 6:51 ` Jan Stancek
2013-06-12 14:34 ` Ismael Farfán
2013-06-12 15:47 ` Jan Stancek
2013-06-12 17:10 ` Ismael Farfán
2013-06-12 20:11 ` chrubis
2013-06-12 16:15 ` chrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox