From: Robert A. <ro...@gm...> - 2025-04-21 23:24:49
|
Hi, We have not uploaded any wheel packages to Pypi for Fedora (or Linux). Debian comes with python3-fltk package but Fedora does not. So you will have to build the package from source. Instructions should be in the INSTALL file of the source tarball from SF. However, another issue is that you will need FLTK 1.4 as a dependency of pyfltk. But unfortunately, Fedora still has no FLTK 1.4 package as you can see from this thread https://groups.google.com/g/fltkgeneral/c/5wvb2cOngHY So you will need to build FLTK from source as well. On Mon, Apr 21, 2025 at 8:39 AM Paxton Sanders <pax...@ou...> wrote: > > Trying to install on Fedora 42. Just built and installed FLTK 1.4.2. > > In my virtual environment, I try pip install pyfltk, which soon gives me this error: > > g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -DUNIX=1 -DFL_INTERNALS=1 -I/usr/include/sysprof-6 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/harfbuzz -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/local/include/FL/images -I/usr/local/include -I./src -I./contrib -I/usr/include -I./plug-in/include -I./plug-in/src -I/home/paxton/MyStuff/source/pyfltk/tutorial1/venv/include -I/usr/include/python3.13 -c ./fltk/fltk_wrap.cpp -o build/temp.linux-x86_64-cpython-313/fltk/fltk_wrap.o -Wno-unused-label -Wno-unused-but-set-variable -Wformat=1 -Werror=format-security > cc1plus: fatal error: ./fltk/fltk_wrap.cpp: No such file or directory > compilation terminated. > error: command '/usr/bin/g++' failed with exit code 1 > [end of output] > > Any idea what I'm doing wrong? > > gcc 15.0.1 > Python 3.13.3 > > Thanks! > _______________________________________________ > Pyfltk-user mailing list > Pyf...@li... > https://lists.sourceforge.net/lists/listinfo/pyfltk-user |