Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation on Linux Mint 15 Fails #19

Closed
wbrenna opened this issue Sep 6, 2013 · 2 comments
Closed

Compilation on Linux Mint 15 Fails #19

wbrenna opened this issue Sep 6, 2013 · 2 comments

Comments

@wbrenna
Copy link
Contributor

wbrenna commented Sep 6, 2013

Plenty of errors on compiling on this system. The automake routine needs to be performed, libopenjpeg is not found (libopenjpeg2 is the installation candidate on this system), /usr/lib/ structure is different (/usr/lib/libi386, for example), liblcms is a different version, libfontconfig needs to be linked, and .deps/libutil_la-Logger.Tpo is not created for some reason.

@wbrenna
Copy link
Contributor Author

wbrenna commented Sep 7, 2013

The libfontconfig error is a linker error, unable to find FcInit, and appears with gcc-4.7. I believe a downgrade to 4.4 may help.

@wbrenna
Copy link
Contributor Author

wbrenna commented Sep 9, 2013

This has been mostly fixed due to a generalization of the configure.ac script in the addpoppler branch. Update to the newest branch. If it still fails with an FcInit error (which it did for me) change the bottom of src/Makefile.am to read

xournalpp_LDADD = \
        pdf/libpoppler.a \
        pdf/libpoppler-glib.a \
        @PACKAGE_LIBS@ $(INTLLIBS) \
        $(top_builddir)/src/util/libutil.la \
        /usr/lib/i386-linux-gnu/libfontconfig.so

instead of

xournalpp_LDADD = \
        @PACKAGE_LIBS@ $(INTLLIBS) \
        $(top_builddir)/src/util/libutil.la \
        pdf/libpoppler.a \
        pdf/libpoppler-glib.a

As things progress perhaps this may be improved.

wbrenna added a commit that referenced this issue Sep 9, 2013
@wbrenna wbrenna closed this as completed Sep 9, 2013
@yasmah74 yasmah74 mentioned this issue May 18, 2023
@Samanbaia Samanbaia mentioned this issue Jul 22, 2023
@opaluja opaluja mentioned this issue Aug 3, 2023
@bmany bmany mentioned this issue Aug 4, 2023
@thdngan thdngan mentioned this issue Aug 6, 2023
@rostur rostur mentioned this issue Aug 16, 2023
@rschram rschram mentioned this issue Oct 26, 2023
@majorace majorace mentioned this issue Apr 9, 2024
@01-1 01-1 mentioned this issue Apr 20, 2024
@IlyaSulli IlyaSulli mentioned this issue May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant