Re: Trying to make Prima

From: Dmitry Karasik <dmitry_at_karasik.eu.org>
Date: 04 Nov 2003 09:36:45 +0100
To: prima_at_prima.eu.org

        Hi Joseph!

On 03 Nov 03 at 22:39, "Joseph" (Joseph Torok) wrote:

I don't think you're doing anything wrong, it is just
Prima wasn't tested on AIX before. You probably hit
more bumps, but if you succeed your porting efforts would
be greatly appreciated. Now, for this particular error,
it was caused by Makefile.PL didn't find stricmp on your
system, and therefore name clash followed. You can
check makefile.log for the result of this probe, although it's
tricky; or, as a hack, edit include/generic/config.h and
add '#define HAVE_STRCASECMP 1' line there.

In any case, I'm curious why Makefile.PL didn't find the function.
When such thing happens it is always because of problems with
other compiler/linker flags, which most probably Makefile.PL
set incorrectly for AIX.

PS. - You can also try to compile with gcc:

perl Makefile.PL COMPILER=gcc

 Joseph> Downloaded Prima-1.12. Ran perl Makefile.PL finished process
 Joseph> ended with "Writing Makefile... All done. Now you can run make."

 Joseph> Ran make

 Joseph> On screen: Creating directories... perl utils/gencls.pl --inc --h
 Joseph> --tml Types.cls include/generic perl utils/gencls.pl --inc --h
 Joseph> --tml Object.cls include/generic perl utils/gencls.pl --inc --h
 Joseph> --tml Component.cls include/generic perl utils/gencls.pl --inc --h
 Joseph> --tml AbstractMenu.cls include/generic perl utils/gencls.pl --inc
 Joseph> --h --tml Drawable.cls include/generic perl utils/gencls.pl --inc
 Joseph> --h --tml Image.cls include/generic perl utils/gencls.pl --inc --h
 Joseph> --tml Menu.cls include/generic perl utils/gencls.pl --inc --h
 Joseph> --tml Widget.cls include/generic cc -qmaxmem=16384 -O -c -Iinclude
 Joseph> -Iinclude/generic -I/usr/opt/perl5/lib/5.00503/aix/CORE
 Joseph> -I/usr/local/include -DHAVE_CONFIG_H=1 -o AbstractMenu.o
 Joseph> AbstractMenu.c "/usr/include/strings.h", line 65.13: 1506-275 (S)
 Joseph> Unexpected text '(' encountered. "/usr/include/strings.h", line
 Joseph> 65.13: 1506-343 (S) Redeclaration of stricmp differs from previous
 Joseph> declaration on line 272 of "include/apricot.h".
 Joseph> "/usr/include/strings.h", line 65.13: 1506-376 (I) Redeclaration
 Joseph> of stricmp has a different number of fixed parameters than the
 Joseph> previous declaration. "/usr/include/strings.h", line 65.38:
 Joseph> 1506-046 (S) Syntax error. "/usr/include/strings.h", line 66.60:
 Joseph> 1506-276 (S) Syntax error: possible missing ')'? make: 1254-004
 Joseph> The error code from the last command is 1.

 Joseph> can my string.h really be screwed up.

 Joseph> What I am I doing wrong.

 Joseph> Thank you Joe Torok joe.torok_at_gulfaero.com

-- 
Sincerely,
	Dmitry
--- www.karasik.eu.org ---
One person's spam is another person's steak.
Received on Tue 04 Nov 2003 - 09:37:49 CET

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:05 CET