Operating System - HP-UX
1833866 Members
2445 Online
110063 Solutions
New Discussion

Building open64 in hpux + ia64 system

 
urstez
New Member

Building open64 in hpux + ia64 system

hello everybody

i ve successfully built open64 using open64 source on the x86 systems. but when i try to build open64 on ia64 system using the same source i get the following error. can anybody help me out and tell me how can i build open64 on ia64 systems with hpux as operating system.

# gmake all BUILD_OPTIMIZE=DEBUG
gmake first
gmake[1]: Entering directory `/home/thejas/open64-4.2.1-0'
gmake -C osprey/targia64_ia64_nodebug/libspin
gmake[2]: Entering directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/libspin'
gmake[2]: Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/libspin'
gmake -C osprey/targia64_ia64_nodebug/libspin_4_2_0
gmake[2]: Entering directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/libspin_4_2_0'
gmake[2]: Nothing to be done for `default'.
gmake[2]: Leaving directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/libspin_4_2_0'
gmake[1]: Leaving directory `/home/thejas/open64-4.2.1-0'
gmake phony_targets
gmake[1]: Entering directory `/home/thejas/open64-4.2.1-0'
gmake -C osprey/targia64_ia64_nodebug/include
gmake[2]: Entering directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/include'
gmake[2]: Leaving directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/include'
gmake -C osprey/targia64_ia64_nodebug/driver
sh: hg: not found.
gmake[2]: Entering directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/driver'
gmake first
sh: hg: not found.
gmake[3]: Entering directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/driver'
gmake[3]: Nothing to be done for `first'.
gmake[3]: Leaving directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/driver'
gmake driver
sh: hg: not found.
gmake[3]: Entering directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/driver'
gmake[3]: *** No rule to make target `OPTIONS', needed by `OPTIONS.P'. Stop.
gmake[3]: Leaving directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/driver'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/home/thejas/open64-4.2.1-0/osprey/targia64_ia64_nodebug/driver'
gmake[1]: *** [driver] Error 2
gmake[1]: Leaving directory `/home/thejas/open64-4.2.1-0'
gmake: *** [build] Error 2


the source i've used is platform independent. i ve downloaded it from the site www.sourceforge.net.
plz help me..
thank u in advance.
16 REPLIES 16
Dennis Handly
Acclaimed Contributor

Re: Building open64 in hpux + ia64 system

(I've asked the moderators to move this to HP-UX.)

Where do you see "hg" in your makefile?
urstez
New Member

Re: Building open64 in hpux + ia64 system

hello...
i couldn't find the command hg anywhere in the makefile.
when i built the same source on x86 system i didn't get the above problems
Dennis Handly
Acclaimed Contributor

Re: Building open64 in hpux + ia64 system

>I couldn't find the command hg anywhere in the makefile.

No macros or makefile includes to search?
No comments about Hg or Mercury?
Steven Schweda
Honored Contributor

Re: Building open64 in hpux + ia64 system

> >I couldn't find the command hg anywhere in the makefile.
>
> No macros or makefile includes to search?

I know nothing, but a quick browse of the
source on SourceForge found a subsidiary
"make" file with some "hg" commands in it.

> when i built the same source on x86 system
> i didn't get the above problems

Which "x86 system"? Windows? Solaris? Some
system which has "hg" installed on it?
Dennis Handly
Acclaimed Contributor

Re: Building open64 in hpux + ia64 system

open64 hasn't been ported to HP-UX, probably since HP's compilers are better. You can try Linux on Integrity.

A quick google search finds hg(1) as a CLI to the Mercurial system:
http://www.selenic.com/mercurial/hg.1.html
urstez
New Member

Re: Building open64 in hpux + ia64 system

can u plz tell me in which of the make files did u find the hg command.

i ve built open64 in fedora systems.
Steven Schweda
Honored Contributor

Re: Building open64 in hpux + ia64 system

> can u plz tell me in which of the make
> files did u find the hg command.

I've forgotten. Perhaps you should start in
the first directory where you got the
complaint:

> gmake -C osprey/targia64_ia64_nodebug/driver
> sh: hg: not found.

See if you can find a "make" file there. If
you don't see "hg" in it, look for "include",
follow any include's you find, and look at
those "make" files.

I'd suggest "find -exec grep", but it would
take to long to explain it all.
urstez
New Member

Re: Building open64 in hpux + ia64 system

thank u.. i used the following command
find . -type f -print |xargs grep -lw 'hg' 2> /dev/null

to find hg command
it gave the following output
./osprey/kgccfe/gnu/frobnicate-version.mk
./osprey/kgccfe/gnu/Makefile.gbase
./osprey/kg++fe/gnu/Makefile.gbase
./osprey/driver/Makefile.gbase
./osprey/crayf90/sgi/Makefile.gbase

but when building the open64 error is shown at
gmake -C osprey/targia64_ia64_nodebug/driver
sh: hg: not found.

can u plz tell me how can i rectify the following error..

im a student and i ve no much knowledge about
makefiles...kindly bear with me
Steven Schweda
Honored Contributor

Re: Building open64 in hpux + ia64 system

> sh: hg: not found.

Install "hg"?

> A quick google search finds hg(1) as a CLI
> to the Mercurial system:
> http://www.selenic.com/mercurial/hg.1.html
urstez
New Member

Re: Building open64 in hpux + ia64 system

ya..thank u..
now i ve got rid of the problem with hg command. but other errors still remain.

by tracing the error messages i made out that these errors are cos of the statements in file

open64-4.2.1-0/osprey/driver/Makefile.gbase

following are the lines causing that error...

$(GEN_CFILES) $(GEN_HFILES) : generated

generated : OPTIONS.P table
$(run) ./table < OPTIONS.P
touch generated

table : table.o $(SHARED_OBJECTS)
$(link.ccf) -o $@ table.o $(SHARED_OBJECTS) $(LDFLAGS)

OPTIONS.P : OPTIONS
$(CC) -E -P $(LCDEFS) $(STD_COMPILE_OPTS) -x c $(BUILD_BASE)/OPTIONS > OPTIONS.P

driver: $(OBJECTS)
$(link.ccf) -o $@ $(OBJECTS) $(LDFLAGS)

Rule to build OPTIONS is not given..
any idea what can i do now...

Steven Schweda
Honored Contributor

Re: Building open64 in hpux + ia64 system

> by tracing the error messages

What error messages? I see no error
messages.

> i made out that these errors are cos of
> the statements in file

The value of your opinion may be less than
you think it is. It might help if you showed
exactly what you did, and exactly what
happened when you did it.


Correctly spelling "because", "I", "please",
"you", and so on would make your writing
easier to read, too.
Steven Schweda
Honored Contributor

Re: Building open64 in hpux + ia64 system

Some open-source projects expect you to use
GNU "make", too. You might try that.
Steven E. Protter
Exalted Contributor

Re: Building open64 in hpux + ia64 system

Shalom,

This code is clearly not ia64 ported.

I suggest you do this as if it were a Linux system.

Use HP-UX versions of all the compile tools, gcc, make, but make sure they are based on open source software.

That plan might be the way through this problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven Schweda
Honored Contributor

Re: Building open64 in hpux + ia64 system

> This code is clearly not ia64 ported.

HP-UX and IA64 are not equivalent. (Ask my
zx2000 and rx2600 when they're running VMS.)

> I suggest you do this as if it were a Linux
> system.

That part makes more sense.
Dennis Handly
Acclaimed Contributor

Re: Building open64 in hpux + ia64 system

> $(CC) -E -P $(LCDEFS) $(STD_COMPILE_OPTS) -x c $(BUILD_BASE)/OPTIONS > OPTIONS.P

(This appears to be one line?)

>Rule to build OPTIONS is not given. Any idea what can I do now?

You need to search the other directories to see who builds OPTIONS. Perhaps an empty file will do?
Dennis Handly
Acclaimed Contributor

Re: Building open64 in hpux + ia64 system

This other thread is getting to the install phase:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1350707