Bugs item #2885418, was opened at 2009-10-24 12:27
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2885418&group_id=33921

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build System
Group: None
Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Dan McMahill (danmc)
Summary: makefile error in cygwin

Initial Comment:
When using build_gerbv --build-only, I get the following error.
Building for cygwin.
Makefile:36: *** commands commence before first target.  Stop.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-10-26 06:54

Message:
  I downloaded the source code from
http://sourceforge.net/projects/gerbv/files/gerbv/gerbv-2.3.0/gerbv-2.3.0.tar.gz,
then unzip it and save all files into the folder of ~. I also downloaded
glib, atk, pango, gtk+, gettext, libiconv, pkg-config etc. from
www.gtk.org(for windows), and save all of these files to
~/gtk_win32_downloads. 

 After that, I run cygwin, and run ./win32/extract_gtk_win32, it's all
right now.
then, run ./win32/build_gerbv --skip-install

The following text in c.log:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for windows... yes
checking whether build environment is sane... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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... none
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object
files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic ^x86 archive
import|^x86 DLL
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /usr/bin/nm -B output from gcc object... failed
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... yes
checking for g++ option to produce PIC... 
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... 
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking for windres... windres
checking for animate... notfound
checking for compare... notfound
checking for composite... notfound
checking for convert... /cygdrive/c/WINDOWS/system32/convert
checking for display... notfound
checking for montage... notfound
checking if all ImageMagick tools needed for the testsuite were found...
no.  The testsuite will be disabled because the following
tools from the ImageMagick suite were not found:
 animate compare composite display montage
No loss in gerbv functionality should be experienced, you just will not
be able to run the regression testsuite.

checking for pkg-config... \cygwin\home\HP_Owner\gtk_win32\bin/pkg-config
checking for sin in -lm... yes
checking pkg-config is at least version 0.9.0... yes
checking for CAIRO... yes
checking for GTK... yes
checking if ElectricFence debugging should be enabled... no
checking for env... /usr/bin/env
checking for gtk-update-icon-path... true
checking for unistd.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for string.h... (cached) yes
checking sys/mman.h usability... no
checking sys/mman.h presence... no
checking for sys/mman.h... no
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking regex.h usability... no
checking regex.h presence... no
checking for regex.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for getopt_long... yes
checking for strlwr... yes
checking for realpath... no
checking for canonicalize_file_name... no
checking whether canonicalize_file_name must be declared... yes
checking for the bindir to datadir relative path... ..\\share
checking for the bindir to pkgdatadir relative path... ..\\share\\gerbv
checking for the bindir to exec_prefix relative path... ..
configure: creating ./config.status
config.status: creating Makefile
config.status: creating desktop/Makefile
config.status: creating doc/PNG-print/Makefile
config.status: creating doc/eagle/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/example-code/Makefile
config.status: creating doc/Makefile
config.status: creating example/eaglecad1/Makefile
config.status: creating example/nollezappare/Makefile
config.status: creating example/numpres/Makefile
config.status: creating example/jj/Makefile
config.status: creating example/dan/Makefile
config.status: creating example/ekf2/Makefile
config.status: creating example/exposure/Makefile
config.status: creating example/am-test/Makefile
config.status: creating example/cslk/Makefile
config.status: creating example/orcad/Makefile
config.status: creating example/Mentor-BoardStation/Makefile
config.status: creating example/pick-and-place/Makefile
config.status: creating example/polarity/Makefile
config.status: creating example/thermal/Makefile
config.status: creating example/trailing/Makefile
config.status: creating example/Makefile
config.status: creating man/Makefile
config.status: creating scheme/Makefile
config.status: creating src/Makefile
config.status: creating src/libgerbv.pc
config.status: creating win32/Makefile
config.status: creating test/Makefile
config.status: creating test/golden/Makefile
config.status: creating test/inputs/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

** Configuration summary for gerbv 2.3.0:

   PREFIX:                   
   xdg data directory:       ${datarootdir}

   CPPFLAGS:                  -mms-bitfields -mno-cygwin -mwindows
-DPREFIXDIR=\"${prefix}\" -DBINDIR=\"${bindir}\"
   CFLAGS:                   -I/home/HP_Owner/gtk_win32/include
-mms-bitfields -mno-cygwin -mwindows -Wall  -mms-bitfields
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/gtk-2.0
-Ic:/cygwin/home/HP_Owner/gtk_win32/lib/gtk-2.0/include
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/atk-1.0
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/cairo
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/pango-1.0
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/glib-2.0
-Ic:/cygwin/home/HP_Owner/gtk_win32/lib/glib-2.0/include
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/freetype2
-Ic:/cygwin/home/HP_Owner/gtk_win32/include
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/libpng12  
 -Ic:/cygwin/home/HP_Owner/gtk_win32/include/cairo
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/freetype2
-Ic:/cygwin/home/HP_Owner/gtk_win32/include
-Ic:/cygwin/home/HP_Owner/gtk_win32/include/libpng12  
   LDFLAGS:                  -L/home/HP_Owner/gtk_win32/lib
   LIBS:                     -lm -lpng12 
-Lc:/cygwin/home/HP_Owner/gtk_win32/lib -lgtk-win32-2.0 -lgdk-win32-2.0
-latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-lintl  
 -Lc:/cygwin/home/HP_Owner/gtk_win32/lib -lcairo  

   GTK Version:              2.16.6
   Cairo Version:            1.8.8

   Electric Fence Debugging: no


and clean.log is

Makefile:36: *** commands commence before first target.  Stop.


----------------------------------------------------------------------

Comment By: Dan McMahill (danmc)
Date: 2009-10-26 04:35

Message:

I have everal questions.

1)  how did you get the sources?  Was this from the release tarball or via
anoncvs?

2)  What were your exact steps?  Did you run build_gerbv --build-only
before anything?  It is not meant to run that way. 

There are several caveats related to that script.  In fact, It isn't
really meant for the end user but more for my use when building the binary
releases.  I stuck it in the releases so others can see how it is done but
it is fairly fragile.  In particular, it assumes specific locations for all
the gtk stuff in your file system.  Also, you have to run from the top of
the source  tree.  For example ./win32/build_gerbv.  The other thing is
--build-only requires that you have let configure run first (sorry I'm not
where I can look at the script to see if there was a config-only option). 
The whole purpose of --build-only was to help with my debugging because it
sets up the PATH environment variable along with a few others before
calling make.

Anyway, without a little more to go on, I can only take gueses as to your
problem

Changing the state to pending since it is waiting for more information.

-Dan


----------------------------------------------------------------------

Comment By: Stefan Petersen (spetm)
Date: 2009-10-24 15:09

Message:
Thanks for your bug report. I reassign it to our build systems expert Dan,
because this is out of my league.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2885418&group_id=33921

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Gerbv-devel mailing list
Gerbv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gerbv-devel

Reply via email to