[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: VM Error compiling Gambas for the first time on Manjaro


Il 09/12/24 11:56, Fabien Bodard ha scritto:


---------- Forwarded message ---------
De : *Gianluigi* <gradobag@xxxxxxxxxxx <mailto:gradobag@xxxxxxxxxxx>>
Date: lun. 9 déc. 2024 à 10:46
Subject: Re: VM Error compiling Gambas for the first time on Manjaro
To: <user@xxxxxxxxxxxxxxxxxxxxxx <mailto:user@xxxxxxxxxxxxxxxxxxxxxx>>


Il 09/12/24 00:52, Benoît Minisini ha scritto:
 > Le 06/12/2024 à 23:08, Benoît Minisini a écrit :
 >>
 >> Indeed. In the meantime, you have to disable the pdf component until I
 >> understand what they have changed in the unstable poppler library.
 >>
 >> This is the reason why 'gb.poppler' exists: it uses some other poppler
 >> APIs that are more stable.
 >>
 >> Regards,
 >>
 >
 > The problem has been fixed.
 >
 > Regards,
 >
 >

Hi Benoit,

thank you very much

Regards
Gianluigi

P.S. Perhaps the '.gitlab-ci.yml' configuration file should be updated
by removing the --disable-pdf entry?

The same here :

checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gb.pdf component with pkg-config... OK
checking that generated files are newer than configure... done
configure: creating ./config.status
/bin/sh ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making all in src
  CXX      gb_pdf_la-CPdfDocument.lo
CPdfDocument.cpp:In function 'voidPDFPAGE_select(void*, void*)':
CPdfDocument.cpp:1041:80:error: cannot convert 'bool' to 'bool (*)(void*)'
1041 |         gfx = THIS->page-
 >createGfx(dev,72.0,72.0,0,false,true,-1, -1, -1, -1, false, NULL, NULL);
      | ^~~~~
      | |
      | bool
In file included from /usr/include/poppler/PDFDoc.h:63,
                 from CPdfDocument.h:33,
                 from CPdfDocument.cpp:26:
/usr/include/poppler/Page.h:224:158:note:   initializing argument 11 of
'Gfx* Page::createGfx(OutputDev*, double, double, int, bool, bool, int,
int, int, int, bool (*)(void*), void*, XRef*)'
  224 |     Gfx *createGfx(OutputDev *out, double hDPI, double vDPI, int
rotate, bool useMediaBox, bool crop, int sliceX, int sliceY, int sliceW,
int sliceH, bool (*abortCheckCbk)(void *data), voi
d *abortCheckCbkData, XRef *xrefA = nullptr);
      | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:530: gb_pdf_la-CPdfDocument.lo] Error 1
make[3]: *** [Makefile:456: all-recursive] Error 1
make[2]: *** [Makefile:388: all] Error 2
make[1]: *** [Makefile:464: all-recursive] Error 1
make: *** [Makefile:405: all] Error 2
  ~/gambas  master *15 !2 ?4 




--
Fabien Bodard


I apologize,
Fabien is right, I get the same result.
The old command must be maintained:
GAMBAS_CONFIG_FAILURE=1 ./configure -C --disable-sqlite2 --disable-qt4
--disable-pdf --disable-qt5webkit --disable-gtkopengl
I should have tried before thanking :-(
For complete information the command returns this response:
||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.gtk.opengl
|| - gb.qt5.webkit
||

Regards
Gianluigi


Follow-Ups:
Re: Fwd: VM Error compiling Gambas for the first time on ManjaroGianluigi <gradobag@xxxxxxxxxxx>
References:
VM Error compiling Gambas for the first time on ManjaroGianluigi <gradobag@xxxxxxxxxxx>
Re: VM Error compiling Gambas for the first time on ManjaroGianluigi <gradobag@xxxxxxxxxxx>
Re: VM Error compiling Gambas for the first time on ManjaroBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: VM Error compiling Gambas for the first time on ManjaroBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: VM Error compiling Gambas for the first time on ManjaroGianluigi <gradobag@xxxxxxxxxxx>
Fwd: VM Error compiling Gambas for the first time on ManjaroFabien Bodard <gambas.fr@xxxxxxxxx>