Re: Make problems porting to BSD/OS (from BSDI)

Jeff Hostetler (jeff@abisource.com)
Wed, 02 Dec 1998 14:53:11 -0600


the 'install' thing copies our intermediate libraries (.lib and .a)
into a common directory so that the loader can find them (without
us having to do a series -L...'s). it also copies the executable
into a bin directory (for some historical reasons....)

the src/ver/xp/Makefile references $(VERIFY_DIRECTORY) which
is defined in abi/src/abi_defs.mk and attempts to do an "intall -d"
which tries to create a directory.

you might change the VERIFY_DIRECTORY (and the MAKE_OBJDIR)
vars to be "...; mkdir ..." rather than "install -d" and see
if that helps.

or you could change the INSTALL=install line earlier in abi_defs.mk
to reference a different version of install....

[i've had enough problems with the various versions of "install"
while building these makefiles that i'm really tempted to remove
it and use simpler methods....]

let me know if which of these works and i'll update things.

thanks
jeff

At 03:26 PM 12/2/98 -0500, Jeff Evarts wrote:
>Top level make kicks off but fails with options to "install".
>Any thoughts?
>
>jde@caltrop-92: gmake
>Building AbiWord...
>gmake -C src T=abiword && echo AbiWord build complete.
>gmake[1]: Entering directory `/scratch/jde/abi-0.3.0/src'
>Building with [JavaScript:Off Debug:On].
>gmake -C ver build
>gmake[2]: Entering directory `/scratch/jde/abi-0.3.0/src/ver'
>Building with [JavaScript:Off Debug:On].
>gmake -C xp build
>gmake[3]: Entering directory `/scratch/jde/abi-0.3.0/src/ver/xp'
>../../config/abi_rules.mk:134: warning: overriding commands for target
>`BSD-OS_3.1_i386_/libAbiVer.'
>../../config/abi_rules.mk:128: warning: ignoring old commands for target
>`BSD-OS_3.1_i386_/libAbiVer.'
>Building with [JavaScript:Off Debug:On].
>install: illegal option -- d
>usage: install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1
>file2;
> or file1 ... fileN directory
>gmake[3]: *** [BSD-OS_3.1_i386_/abi_ver.] Error 1
>gmake[3]: Leaving directory `/scratch/jde/abi-0.3.0/src/ver/xp'
>gmake[2]: *** [build] Error 2
>gmake[2]: Leaving directory `/scratch/jde/abi-0.3.0/src/ver'
>gmake[1]: *** [build] Error 2
>gmake[1]: Leaving directory `/scratch/jde/abi-0.3.0/src'
>gmake: *** [abiword] Error 2
>jde@caltrop-93:
>
>--
>Jeff Evarts
>jde@eng.us.uu.net
>http://www.ecst.csuchico.edu/~amarth
>Do not mistake my opinions for those of my employer.
>



This archive was generated by hypermail 1.03b2.