From: HIROSE, M. <hir...@t3...> - 2001-01-12 19:20:49
|
Hello, When make libatalk.a, following error occurred. (snip) make[3]: Entering directory `/tmp/netatalk-1.5pre3/libatalk' /bin/sh ../libtool --mode=link asp/libasp.la atp/libatp.la nbp/libnbp.la adouble/libadouble.la dsi/libdsi.la util/libutil.la compat/libcompat.la netddp/libnetddp.la asp/libasp.la -o libatalk.a libtool: link: warning: `-l' and `-L' are ignored for archives rm -fr /libatalk.ax mkdir /libatalk.ax mkdir: cannot create directory `/libatalk.ax': Permission denied make[3]: *** [libatalk.a] Error 255 make[3]: Leaving directory `/tmp/netatalk-1.5pre3/libatalk' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/netatalk-1.5pre3/libatalk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/netatalk-1.5pre3' make: *** [all-recursive-am] Error 2 It is successful if user has root privilege, but this is not good workaround I think. I know neither libtool nor automake. so probably following patch will be stupid. -- HIROSE, Masaaki --- libatalk/Makefile.am.orig Sat Jan 13 01:07:54 2001 +++ libatalk/Makefile.am Sat Jan 13 02:48:33 2001 @@ -1,13 +1,15 @@ # Makefile.am for libatalk/ +CCLD = $(CC) + SUBDIRS = adouble asp atp compat dsi nbp netddp util lib_LIBRARIES = libatalk.a -LIBATALK_DEPS = asp/libasp.la atp/libatp.la nbp/libnbp.la adouble/libadouble.la dsi/libdsi.la util/libutil.la compat/libcompat.la netddp/libnetddp.la asp/libasp.la +LIBATALK_DEPS = asp/*.lo atp/*.lo nbp/*.lo adouble/*.lo dsi/*.lo util/*.lo compat/*.lo netddp/*.lo asp/*.lo libatalk_a_SOURCES = libatalk_a_LIBADD = ${LIBATALK_DEPS} libatalk.a: ${LIBATALK_DEPS} - ${LIBTOOL} --mode=link ${LIBATALK_DEPS} -o libatalk.a + ${LIBTOOL} --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o libatalk.a ${LIBATALK_DEPS} |