I agree it is weird. Possibly I am doing something wrong but it is not obvious to me what. To help debug I have written a script to do a clean, from scratch build (see attached). I have tested on Ubuntu 18.04 and 20.04 with the same result. If you are working from Windows you can probably test that script in a WLS session ( https://docs.microsoft.com/en-us/windows/wsl/install-win10). If the script runs cleanly for you that would help bisect the problem as being in my setup.
I don't know how tecmake works but I can try to debug further. I did notice that some .h files that are committed in svn are modified by the dep generation process. FYI, I'm setting up an automated daily build of iup along with some other stuff that will be made browseable from the web. I'm hoping that I can provide timely feedback and help keep IUP building seamlessly out of the box on Ubuntu. On Thu, Mar 18, 2021 at 5:47 AM Antonio Scuri <antonio.sc...@gmail.com> wrote: > That's weird, because that dependency occurs on the dependency file. If > you remove it or build from SVN, that's not hardcoded anywhere. > > For instance: > > D:\tecgraf\cd\src>grep -R "/tecgraf/pdflib7" * > dep/cdpdf.dep.Linux313_64: ../include/cdpdf.h > /tecgraf/pdflib7/include/pdflib.h > dep/cdpdf.dep.Linux319_64: ../include/cdpdf.h > /tecgraf/pdflib7/include/pdflib.h > dep/cdpdf.dep.Linux415_64: ../include/cdpdf.h > /tecgraf/pdflib7/include/pdflib.h > dep/cdpdf.dep.Linux44_64: ../include/cdpdf.h > /tecgraf/pdflib7/include/pdflib.h > dep/cdpdf.dep.Linux50_64: ../include/cdpdf.h > /tecgraf/pdflib7/include/pdflib.h > dep/cdpdf.dep.Linux54_64: ../include/cdpdf.h > /tecgraf/pdflib7/include/pdflib.h > > > > > Em qui., 18 de mar. de 2021 às 08:56, Matt Welland <estifo...@gmail.com> > escreveu: > >> Yes, folder is removed. I also built from svn and see the same problem. >> >> Get BlueMail for Android <http://www.bluemail.me/r?b=16696> >> On Mar 17, 2021, at 10:56 AM, Antonio Scuri <antonio.sc...@gmail.com> >> wrote: >>> >>> Still the same problem. Did you remove the folder in CD/src folder? >>> >>> Em qua., 17 de mar. de 2021 às 12:02, Matt Welland < >>> mattrwell...@gmail.com> escreveu: >>> >>>> Hi Scuri, >>>> >>>> I do get the message: >>>> >>>> make[1]: *** No rule to make target '/tecgraf/pdflib7/include/pdflib.h', >>>> needed by '../obj/cdpdf/Linux54_64/cdpdf.o'. Stop. >>>> >>>> *after* removing the dep dir. Can you suggest how to debug further? >>>> >>>> Thanks, >>>> Matt >>>> -=- >>>> >>>> >>>> On Mon, Mar 15, 2021 at 4:39 AM Antonio Scuri < antonio.sc...@gmail.com> >>>> wrote: >>>> >>>>> HiI, >>>>> >>>>> This is the same problem, but in the CD src folder. Simply erase the >>>>> folder: >>>>> >>>>> cd\src\dep >>>>> >>>>> If you get from SVN head, it will not have the problem. But there >>>>> aren't any differences in CD and IM that are worth it. Maybe in IUP. >>>>> >>>>> Best, >>>>> Scuri >>>>> >>>>> >>>>> >>>>> Em seg., 15 de mar. de 2021 às 02:18, Matt Welland < >>>>> mattrwell...@gmail.com> escreveu: >>>>> >>>>>> Thanks Scuri, >>>>>> >>>>>> That fixed it and it built a few times (I'm automating the build for >>>>>> my project). However I started getting an error regarding not finding >>>>>> grcbox.h so I removed the deps in all and then I get: >>>>>> >>>>>> Tecmake: starting [ cdpdf:Linux54_64 ] >>>>>> if [ ! -d ../obj/cdpdf/Linux54_64 ] ; then mkdir -p >>>>>> ../obj/cdpdf/Linux54_64 ; fimake[1]: *** No rule to make target >>>>>> '/tecgraf/pdflib7/include/pdflib.h', needed by >>>>>> '../obj/cdpdf/Linux54_64/cdpdf.o'. Stop. >>>>>> make: *** [Makefile:14: cdpdf] Error 2 >>>>>> >>>>>> Would it be better if I worked from the svn repository? If so, how do I >>>>>> get specific tags? If not, any idea what I might be doing wrong? >>>>>> >>>>>> If it matters, I'm trying to build on Ubuntu 18.04 and 20.04. I'd like >>>>>> to get to a point where my automation is building regularly from both >>>>>> source tars and svn. >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Matt >>>>>> -=- >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Mar 8, 2021 at 5:38 AM Antonio Scuri < >>>>>> antonio.sc...@gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> This is an error in the distribution files. Erase the folder >>>>>>> >>>>>>> im\src\dep >>>>>>> >>>>>>> And build again. >>>>>>> >>>>>>> Best, >>>>>>> Scuri >>>>>>> >>>>>>> >>>>>>> Em seg., 8 de mar. de 2021 às 03:34, Matt Welland < >>>>>>> mattrwell...@gmail.com> escreveu: >>>>>>> >>>>>>>> Tecmake: starting [ imlua51:Linux54_64 ] >>>>>>>> if [ ! -d ../obj/imlua51/Linux54_64/Lua51 ] ; then mkdir -p >>>>>>>> ../obj/imlua51/Linux54_64/Lua51 ; fi >>>>>>>> if [ ! -d ../lib/Linux54_64/Lua51 ] ; then mkdir -p >>>>>>>> ../lib/Linux54_64/Lua51 ; fi >>>>>>>> make[1]: *** No rule to make target >>>>>>>> '/tecgraf/lua5.1/include/lua.h', needed by >>>>>>>> '../obj/imlua51/Linux54_64/Lua51/imlua.o'. Stop. >>>>>>>> make: *** [Makefile:28: imlua5] Error 2 >>>>>>>> >>>>>>>> The Lua variables are set as follows: >>>>>>>> >>>>>>>> LUA_SUFFIX >>>>>>>> LUA_INC /usr/include/lua5.1 >>>>>>>> LUA_LIB /usr/lib >>>>>>>> USE_LUA_VERSION 51 >>>>>>>> >>>>>>>> I'm trying to follow the instructions from >>>>>>>> https://webserver2.tecgraf.puc-rio.br/im/en/building.html >>>>>>>> >>>>>>>> Thanks. >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Iup-users mailing list >>>>>>>> Iup-users@lists.sourceforge.net >>>>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>>>>>> >>>>>>> _______________________________________________ >>>>>>> Iup-users mailing list >>>>>>> Iup-users@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>>>>> >>>>>> _______________________________________________ >>>>>> Iup-users mailing list >>>>>> Iup-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>>>> >>>>> _______________________________________________ >>>>> Iup-users mailing list >>>>> Iup-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>>> >>>> _______________________________________________ >>>> Iup-users mailing list >>>> Iup-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/iup-users >>>> >>> ------------------------------ >>> >>> Iup-users mailing list >>> Iup-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/iup-users >>> >>> _______________________________________________ >> Iup-users mailing list >> Iup-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/iup-users >> > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users >
compile.sh
Description: application/shellscript
_______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users