It works perfect, thanks William! On Wed, Jan 25, 2017 at 8:18 PM, William Bader <[email protected]> wrote:
> > it seems like this binary expect poppler-data in > /usr/local/share/poppler, but I installed poppler-data from rpm and it is > locate in /usr/share/poppler. > > conf.h (which is generated by configure) has #define POPPLER_DATADIR > "/usr/local/share/poppler" > > > configure runs 'pkg-config --exists --print-errors poppler-data' > > > If it finds something, uses it, otherwise it sets POPPLER_DATADIR to $ > datarootdir/poppler > > > You can set datarootdir with the configure --datarootdir=DIR option, for > example configure --datarootdir=/usr/share > > Regards, William > > > ------------------------------ > *From:* Min Su <[email protected]> > *Sent:* Wednesday, January 25, 2017 6:15 PM > *To:* William Bader > *Cc:* [email protected] > *Subject:* Re: [poppler] Questions about building poppler-utils 0.50.0 > rpm for CentOS 7 > > Thanks William, > > What I need is only pdftoppm. > I built poppler and get pdftoppm in /usr/local/bin, but it seems like this > binary expect poppler-data in /usr/local/share/poppler, but I installed > poppler-data from rpm and it is locate in /usr/share/poppler. > If I don't want to create symlink /usr/local/share/poppler -> > /usr/share/poppler, what should I do? Add prefix when config poppler? > > Thanks, > > Min > > On Thu, Jan 19, 2017 at 8:49 PM, William Bader <[email protected]> > wrote: > >> I think that you will eventually have problems applying CentOS system >> updates if you replace the poppler package in the CentOS distribution with >> your package. If you need only a few of the poppler utilities and do not >> need libpoppler, you might be better off with a source build >> using configure --enable-static --disable-shared ; make, and then >> copying the utilities that you need to /usr/local/bin. Regards, William >> >> >> >> ------------------------------ >> *From:* poppler <[email protected]> on behalf of Min >> Su <[email protected]> >> *Sent:* Thursday, January 19, 2017 8:05 PM >> *To:* [email protected] >> *Subject:* [poppler] Questions about building poppler-utils 0.50.0 rpm >> for CentOS 7 >> >> Hi all, >> >> I need to install poppler 0.50.0 on my CentOS Linux release 7.2.1511. >> >> I took the Fedora SRPM, rebuild it on my system and got >> poppler-0.50.0-1.el7.centos.x86_64.rpm and poppler-utils-0.50.0-1.el7.cen >> tos.x86_64.rpm. >> >> After install these rpms, I got the binary I need and it seems like it >> works well. But when I check the dependency of this binary, I found it has >> dynamic references to some libraries in my system, for example: fontconfig, >> the fontconfig on system is 2.10 but poppler 0.50.0 requires at least >> fontconfig 2.12. >> >> Almost all dynamic dependencies on CentOS is very "old", and I don't want >> to upgrade all related libraries. What should I do now? Rebuild rpm with >> static reference? If so, how do I do that? >> >> Is it risky to have poppler 0.50.0 with all these old references? >> >> Thanks! >> > >
_______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
