| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #3530
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | Build Files |
Summary: | make chokes in test with: *** No rule to make target 'fast_slow.h' |
Version: | 1.4-current |
Created By: | gabriele |
Assigned To: | AlbrechtS |
Fix Version: | None |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | gabriele 08:46 Oct 10, 2019 |
| hi
maintaining fltk on linux from git since quite a bit and never had problems.
Since rev number 8605 (62e39e5559acdad536418c35575985a9c55de801) make fails with:
----8<---- make[2]: *** No rule to make target 'fast_slow.h', needed by 'fast_slow.o'. Stop. make[2]: Leaving directory '/home/balducci/tmp/install-us-d/fltk-8591.d/fltk-8605/test' ---->8----
Trying to fix that single missing rule, just exposes other similar errors: so I'm now brutally disabling test in Makefile:
----8<---- diff -c ./Makefile.DISABLE_TEST ./Makefile *** ./Makefile.DISABLE_TEST Thu Oct 10 16:56:06 2019 --- ./Makefile Thu Oct 10 16:56:06 2019 *************** *** 18,24 ****
include makeinclude
! DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid test documentation
all: makeinclude fltk-config for dir in $(DIRS); do\ --- 18,24 ----
include makeinclude
! DIRS = $(IMAGEDIRS) src $(CAIRODIR) fluid documentation
all: makeinclude fltk-config for dir in $(DIRS); do\ ---->8----
But I'd like to understand if I'm doing something wrong or there is a problem in the software
Cloning from https://github.com/fltk/fltk.git
Configuring with configure:
--prefix=/opt/stow.d/versions/fltk-8615/usr --libdir=/opt/stow.d/versions/fltk-8615/usr/lib64 --enable-threads --enable-largefile --enable-shared --enable-xinerama --enable-xft --enable-localpng
(didn't try to build with cmake)
thanks a lot for any hint
ciao gabriele | |
|
#2 | AlbrechtS 08:32 Oct 13, 2019 |
| Thanks for the report, but this is not the proper place to ask questions about building FLTK. Please use our mailing list fltk.general (Google Groups) for asking questions: https://groups.google.com/forum/#!forum/fltkgeneral
That said, the Git commit given in your post is from the 'master' branch (1.4.0), hence I changed the version to "1.4-current" (not 1.3.5).
I tried a fresh build with current Git 'master' and it worked without issues running these commands:
--- snip --- make clean ./configure \ --enable-threads \ --enable-largefile \ --enable-shared \ --enable-xinerama \ --enable-xft \ --enable-localpng make --- snip ---
I removed '--prefix' and '--libdir' from what you posted, but this shouldn't change the build behavior. Something else must be wrong with your build environment.
The error message "*** No rule to make target 'fast_slow.h', needed by 'fast_slow.o'" seems to indicate that something is wrong with fluid which would normally be built before building the test/ folder.
Please ask further questions in fltk.general as mentioned above. This STR will be closed soon. | |
|
#3 | AlbrechtS 06:26 Oct 17, 2019 |
| General support is not available via the STR form. Please post to the FLTK forums and/or mailing lists for general support.
Closing now. | |
[ Return to Bugs & Features ]
|
| |