Ticket #1155 (closed defect: invalid)

Opened 6 years ago

Last modified 5 years ago

Error building from source on Windows

Reported by: guest Owned by: somebody
Priority: normal Milestone:
Component: C2Hs (Gtk2Hs fork) Version:
Keywords: Cc:

Description

I've downloaded a gtk+ bundle from gtk website and I have gcc 4.3.3 from tdragon. After downloading gtk2hs source, I call configured as: configure --with-hcflags='-O -optl-s' --disable-split-objs CFLAGS='-s -O4' LDFLAGS='-s -O4' --prefix=/c/gtk2hs

in the middle, errors come by. Here's a few last parts of the error messages:

make all-am make[1]: Entering directory `/d/Sources/ghc/gtk2hs-0.10.0' gcc -E -x c -traditional-cpp -Ic:/gtk+/include/cairo -Ic:/gtk+/include/libpng12 -DGTK2HS_HS_PREPROC -include gtk2hs-config.h cairo/Graphics/Rendering/Cairo.hs.p p -o cairo/Graphics/Rendering/Cairo.hs make[1]: *** No rule to make target |', needed by tools/c2hs/base/admin/BaseVe rsion.o'. Stop. make[1]: Leaving directory `/d/Sources/ghc/gtk2hs-0.10.0' make: *** [all] Error 2

Any suggestions? Btw, the gtk2hs is of version 0.10.0

Change History

Changed 5 years ago by thiago.arrais@…

Any updates on this issue? I am experiencing the same problem here, tried to debug the makefiles but didn't manage to get anywhere...

Changed 5 years ago by thiago.arrais@…

It seems like you need a more recent make. I had been trying to build gtk2hs using version 3.79 of make that came with MSYS/MinGW. After updating to 3.81 (that can be found from the MinGW file download page under the "MSYS Base System" package), I've successfully built gtk2hs 0.10.0 on Windows.

Changed 5 years ago by Alvaro

Silverman's Law:

If Murphy's Law can go wrong, it will.

viagra compra italia buy cheap fioricet cialis generico viagra originale tramadol cheap

Changed 5 years ago by pgavin

  • status changed from new to closed
  • resolution set to invalid

Yeah, it seems that a newer version of make is needed. I've been successful building with MSYS. I haven't tried the TDM build, YMMV.

Marking as invalid.

Note: See TracTickets for help on using tickets.