Rispondi 
 
Valutazione discussione:
  • 0 voti - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
stdlib.h
28-03-2019, 20:08 (Questo messaggio è stato modificato l'ultima volta il: 28-03-2019 20:09 da adrianomorselli.)
Messaggio: #1

stdlib.h
Ok, this is libreoffice without lomanager, I rebuilded a lot of dependencies and tried with many spec file from fedora, mageia and now with rosa. Every time I had this error, no one web search gives me a good reply, stdlib.h is installed in /usr/include, we do not use -isystem but -I and forcing path to go in right directions does not give me any help. I tried with old gcc, but it is a blink way because new dependencies requires new gcc. I do not known were I am wrong        
Trova tutti i messaggi di questo utente
Cita questo messaggio nella tua risposta
28-03-2019, 21:07
Messaggio: #2

RE: stdlib.h
Hm.

Which version of LibreOffice ?

Searching on the web "stdlib.h libreoffice", it seems to be a bug with libreoffice 6.
For example: https://bugs.gentoo.org/649262

There they found that 'meson' had to be rebuilt, and 2 other packages.

Problem is of course to find out which packages are the problem with uplos...

I've just realised that this is not much help, sorry !

PS (off-topic): I followed your advice and installed android + wifi-dongle = all working well Smile
Trova tutti i messaggi di questo utente
Cita questo messaggio nella tua risposta
28-03-2019, 22:01
Messaggio: #3

RE: stdlib.h
I saw gentoo forum, deloper upgraded meson + xorg-proto and then libxshmfenche. I rebuilded last package, to upgrade meson I need higher python or perl, I do not rember right one.
I think that problem is not a package but a bug inside our system or, if I am lucky, an error of priority inside make, or qmake in this matter, it fails to call right path - /usr/include - before. I will try to rebuild libreoffice step by step to find where is error.
Trova tutti i messaggi di questo utente
Cita questo messaggio nella tua risposta
29-03-2019, 10:58 (Questo messaggio è stato modificato l'ultima volta il: 29-03-2019 11:11 da tele.)
Messaggio: #4

RE: stdlib.h
You should ask libreoffice developers or check alone on other system.
1. Ask what dependency is needed
Codice:
# rpm -qf /usr/include/stdlib.h
glibc-devel-2.20-8pclos2016
# rpm -qf /usr/include/c++/number/tr1/stdlib.h
libstdc++-devel-number-2pclos2015

2. How check in system where is this lib.
In exceptional situations, developers add a path inside
Codice:
#include <stdlib.h>
But I believe that this is a bad idea and exist better way.

I'm not sure, but it looks like you're using cmake command.
If yes, in other system, after compile exist way find paths and dependencies. Propably in CMakeCache.txt
If paths and files exist in Uplos propably problem exist in glibc-devel libstdc++-devel. Check also if other system have *.pc file to find stdlib.h
*.pc is useful when, for example, when gcc was compiled in another location but sometimes libraries can be also linked in a different way.
Trova tutti i messaggi di questo utente
Cita questo messaggio nella tua risposta
29-03-2019, 12:47
Messaggio: #5

RE: stdlib.h
Thank you tele , this is a good way to check. Since I saw a problem about gcc6/7/8 other way is to rebuild wirh alternate gcc
Trova tutti i messaggi di questo utente
Cita questo messaggio nella tua risposta
Rispondi 


Vai al forum:


Utente(i) che stanno guardando questa discussione: 1 Ospite(i)

              Scrivici   Home   Top   Visualizza contenuti   Feed