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

freetype internal can't find during build OpenJDK7 on MacOS EL Capitan #48

Closed
ihaolin opened this issue Mar 14, 2016 · 6 comments
Closed

Comments

@ihaolin
Copy link

ihaolin commented Mar 14, 2016

I use these instructions to build OpenJDK7 with Mac OS EL Capitan and XCode 7.2.1 line tools.

But it occur some errors when build:

rm -f /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/cache/*
rmdir /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/cache
rm -f /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/internal/*
rmdir /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/internal
rmdir: /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/internal: No such file or directory
make: [install] Error 1 (ignored)
/usr/bin/install -c -m 644 ./builds/unix/ft2unix.h \
          /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/ft2build.h
/usr/bin/install -c -m 644 ./builds/unix/ftconfig.h                        \
          /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/config/ftconfig.h
/usr/bin/install -c -m 644 /Users/haolin/Envir/myjdk/freetype-2.4.10/objs/ftmodule.h                          \
          /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/config/ftmodule.h
/usr/bin/install -c -m 755 ./builds/unix/freetype-config \
          /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/bin/freetype-config
/usr/bin/install -c -m 644 ./builds/unix/freetype2.m4 \
          /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/share/aclocal/freetype2.m4
/usr/bin/install -c -m 644 ./builds/unix/freetype2.pc \
          /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/lib/pkgconfig/freetype2.pc
cp: /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/lib/libfreetype.dylib and /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/lib/libfreetype.6.dylib are identical (not copied).

It's sure that the directory /Users/haolin/Envir/myjdk/OBF_DROP_DIR/freetype/include/freetype2/freetype/internal doesn't exist?

Could some help me? I want to build fast-debug openjdk7 for learning.

Thanks & Regards.

@hgomez
Copy link
Owner

hgomez commented May 9, 2016

I don't have OSX anymore so I cannot help here

@hgomez hgomez closed this as completed May 9, 2016
@clevertension
Copy link
Contributor

this is about freetype make file error, you can modify the file
freetype-x.x.x/builds/unix/install.mk
for example: freetype-2.4.10/builds/unix/install.mk
and add this line to mkdir
*$(DESTDIR)$(includedir)/freetype2/freetype/internal *

qq20161230-0

@hgomez
Copy link
Owner

hgomez commented Dec 30, 2016

Any PR to include this patch ?

@clevertension
Copy link
Contributor

ok, i will submit PR later

@hgomez
Copy link
Owner

hgomez commented Jan 1, 2017

Thanks. I've no more OSX to test, so your help is welcomed.
Happy new Year :)

@clevertension
Copy link
Contributor

PR submit, Happy new Year too :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants