deal@eis.Kodak.COM (Steve Deal) (09/20/90)
I have been trying to build postgres v2r0 on my Sun 3 running SunOS 4.0.3 but the makefile keeps bombing. I dropped back and decided to just build 'inh' instead of 'everything' and ran into a couple of problems. 1) The genlinks target in the inh.mk module trys to define links but fails for some unknown reason. I can define the links manually but the makefile can't. 2) After defining the links manually, inh.mk blows up on the .c.o target with the following message: .c.o: @ echo compiling $(<F) ; \ cd $(@D) ; cc $(CFLAGS) -c $(<F) sh: syntax error at line 2: `(' unexpected *** Error code 2 make: Fatal error: Command failed for target `/usr2/postgres/obj.sunos4/lib/Gen/i nh.o' done This happens to be in the section of inh.mk that has the comment # # note that we do not include defaults.mk # for this wierd set 'o compiles # Even if they did include a defaults.mk they wouldn't find it because it is named default.mk (no plural). So I am stumped. We want to build postgres for a project but this has killed our progress. Any help would be GREATLY appreciated. Please repond to: ======================================================================== ==== | Steve Deal | Internet: deal@Kodak.COM | | Eastman Kodak Co. | UUCP: ...rutgers!rit!kodak!eis!deal | | Engr. Systems Div. | Voice: (716) 726 - 5396 | | mailcode: 35108 | FAX: (716) 726 - 7406 | | 901 Elmgrove Road | | | Rochester, NY | EIS... Engineering Information Systems | | 14653-5108 | You can't build CIM without it! | ======================================================================== ==== Thanks! Steve