- download/unpack source
- make sure gcc is installed via pkgin
- make sure
set
displays CFLAGS=-D__SOLARIS__. If it doesn't runexport CFLAGS=-D__SOLARIS__
. that way the gcc compiler gets that define which helps compiling (otherwise it will fail at the end due to differences in file management) LIBS="-ljpeg -lz" configure
NOTE: This will make tiff files work, but i could not yet get pngs to work. configure is still complaining and adding-lpng
did not have any effect other than stopping the configure earlymake
make install
to install
Last active
January 1, 2016 23:29
-
-
Save matthiasg/8216828 to your computer and use it in GitHub Desktop.
compile leptonica on smartos/solaris
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment