Greetings,
Attempted Fink installation of avrdude generated the following error. I've also
attached the entire contents of the install output.
config.c:33:10: fatal error: 'config_gram.h' file not found
OSX information:
Mac OS X Lion 10.7.3 (11D50b)
Fink information:
Package manager version: 0.32.2
Distribution version: selfupdate-rsync Fri Feb 10 17:48:07 2012, 10.7, x86_64
Trees: local/main stable/main
Xcode: 4.2.1
Max. Fink build jobs: 8
Thank you in advance,
LJ Coletti
sh-3.2# fink install avrdude
Information about 4363 packages read in 0 seconds.
The following package will be installed or updated:
avrdude
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-avrdude-5.10-1
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-avrdude-5.10-1' in
`/sw/src/fink.build/fink-buildlock-avrdude-5.10-1_2012.02.10-17.41.19_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-avrdude-5.10-1_2012.02.10-17.41.19_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-avrdude-5.10-1.
(Reading database ... 54310 files and directories currently installed.)
Unpacking fink-buildlock-avrdude-5.10-1 (from
.../fink-buildlock-avrdude-5.10-1_2012.02.10-17.41.19_darwin-x86_64.deb) ...
Setting up fink-buildlock-avrdude-5.10-1 (2012.02.10-17.41.19) ...
0
/sw/bin/tar --no-same-owner --no-same-permissions -xf
/sw/src/avrdude-5.10.tar.gz
./configure --prefix=/sw --mandir='${prefix}/share/man'
checking build system type... i686-apple-darwin11.3.0
checking host system type... i686-apple-darwin11.3.0
checking target system type... i686-apple-darwin11.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking for tputs in -ltermcap... yes
checking for tputs in -lncurses... yes
checking for readline in -lreadline... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for usb_get_string_simple in -lusb... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for ddk/hidsdi.h... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for gettimeofday... yes
checking for a Win32 HID libray... no
checking for uint_t... no
checking for ulong_t... no
checking for parallel device... configure: parallel port access disabled for
this system
checking for serial device... unknown
checking if gcc accepts -Wno-pointer-sign ... no
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating windows/Makefile
config.status: creating avrdude.spec
config.status: creating Makefile
config.status: creating avrdude.conf.tmp
config.status: creating ac_cfg.h
config.status: executing depfiles commands
make
make all-recursive
/bin/sh ./ylwrap config_gram.y y.tab.c config_gram.c y.tab.h config_gram.h
y.output config_gram.output -- bison -y -d
/bin/sh ./ylwrap lexer.l lex.yy.c lexer.c -- flex
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-arduino.o -MD -MP -MF .deps/libavrdude_a-arduino.Tpo -c -o
libavrdude_a-arduino.o `test -f 'arduino.c' || echo './'`arduino.c
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-avr.o -MD -MP -MF .deps/libavrdude_a-avr.Tpo -c -o
libavrdude_a-avr.o `test -f 'avr.c' || echo './'`avr.c
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-avr910.o -MD -MP -MF .deps/libavrdude_a-avr910.Tpo -c -o
libavrdude_a-avr910.o `test -f 'avr910.c' || echo './'`avr910.c
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-avrpart.o -MD -MP -MF .deps/libavrdude_a-avrpart.Tpo -c -o
libavrdude_a-avrpart.o `test -f 'avrpart.c' || echo './'`avrpart.c
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-bitbang.o -MD -MP -MF .deps/libavrdude_a-bitbang.Tpo -c -o
libavrdude_a-bitbang.o `test -f 'bitbang.c' || echo './'`bitbang.c
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-buspirate.o -MD -MP -MF .deps/libavrdude_a-buspirate.Tpo -c -o
libavrdude_a-buspirate.o `test -f 'buspirate.c' || echo './'`buspirate.c
buspirate.c:536:17: warning: initializing 'unsigned char *' with an expression
of type 'char [3]' converts between pointers to integer types with
different sign [-Wpointer-sign]
unsigned char *reset_str = "#\n";
^ ~~~~~
buspirate.c:545:49: warning: passing 'unsigned char *' to parameter of type
'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
rc = buspirate_send_bin(pgm, reset_str, strlen(reset_str));
^~~~~~~~~
/usr/include/string.h:92:28: note: passing argument to parameter here
size_t strlen(const char *);
^
buspirate.c:545:31: warning: passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
rc = buspirate_send_bin(pgm, reset_str, strlen(reset_str));
^~~~~~~~~
buspirate.c:114:63: note: passing argument to parameter 'data' here
static int buspirate_send_bin(struct programmer_t *pgm, char *data, size_t len)
^
mv -f .deps/libavrdude_a-arduino.Tpo .deps/libavrdude_a-arduino.Po
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-butterfly.o -MD -MP -MF .deps/libavrdude_a-butterfly.Tpo -c -o
libavrdude_a-butterfly.o `test -f 'butterfly.c' || echo './'`butterfly.c
mv -f .deps/libavrdude_a-bitbang.Tpo .deps/libavrdude_a-bitbang.Po
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-config.o -MD -MP -MF .deps/libavrdude_a-config.Tpo -c -o
libavrdude_a-config.o `test -f 'config.c' || echo './'`config.c
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-confwin.o -MD -MP -MF .deps/libavrdude_a-confwin.Tpo -c -o
libavrdude_a-confwin.o `test -f 'confwin.c' || echo './'`confwin.c
mv -f .deps/libavrdude_a-avrpart.Tpo .deps/libavrdude_a-avrpart.Po
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR=\"/sw/etc\" -I/sw/include -Wall -g -O2
-MT libavrdude_a-crc16.o -MD -MP -MF .deps/libavrdude_a-crc16.Tpo -c -o
libavrdude_a-crc16.o `test -f 'crc16.c' || echo './'`crc16.c
config.c:33:10: fatal error: 'config_gram.h' file not found
#include "config_gram.h"
^
1 error generated.
make[2]: *** [libavrdude_a-config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/libavrdude_a-confwin.Tpo .deps/libavrdude_a-confwin.Po
mv -f .deps/libavrdude_a-avr.Tpo .deps/libavrdude_a-avr.Po
mv -f .deps/libavrdude_a-crc16.Tpo .deps/libavrdude_a-crc16.Po
mv -f .deps/libavrdude_a-avr910.Tpo .deps/libavrdude_a-avr910.Po
3 warnings generated.
mv -f .deps/libavrdude_a-buspirate.Tpo .deps/libavrdude_a-buspirate.Po
mv -f .deps/libavrdude_a-butterfly.Tpo .deps/libavrdude_a-butterfly.Po
updating config_gram.h
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-avrdude-5.10-1
(Reading database ... 54311 files and directories currently installed.)
Removing fink-buildlock-avrdude-5.10-1 ...
Failed: phase compiling: avrdude-5.10-1 failed
Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>,
with a carbon copy to the maintainer:
Matthias Ringwald <[email protected]>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.32.2
Distribution version: selfupdate-rsync Fri Feb 10 17:01:32 2012, 10.7, x86_64
Trees: local/main stable/main
Xcode: 4.2.1
Max. Fink build jobs: 8
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users