Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello, I'm installing gcc on my hp

Status
Not open for further replies.

jerryk

Programmer
Jun 13, 2001
82
US
Hello,
I'm installing gcc on my hpux box. The configure script worked fine, and made a Makefile. I assume I now need to run 'Make install' or 'Make config'... The problem is that make reports a syntax error in my Makefile at line 125. --1251 is the line beginning with: $(ALL_BUILD_MODULES):

is the "@" character in the following line the possible error? Should it be preceeded by a quote character?

Many thanks for any thoughts or comments

# This rule is used to build the modules which are built with the
# build machine's native compiler.
.PHONY: $(ALL_BUILD_MODULES)
$(ALL_BUILD_MODULES):
dir=`echo $@ | sed -e 's/all-build-//'`; if [ -f ./$${dir}/Makefile ] ; then r=`pwd`; export r; s=`cd $(srcdir); pwd`; export s; (cd $(BUILD_SUBDIR)/$${dir} && $(MAKE) all); else true; fi

# This rule is used to configure the modules which are built with the
# native tools.
.PHONY: $(CONFIGURE_BUILD_MODULES)
:q
# make install
Make: line 1251: syntax error. Stop.
#
 
Note: I'm installing gcc as a prerequisite to Apache install. I'm posting here in the hope that some of you HPUX Apache users have been through this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top