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

Build fails on Mac OS X 10.6.7 using Homebrew #61

Open
jbrisbin opened this issue Apr 2, 2011 · 7 comments
Open

Build fails on Mac OS X 10.6.7 using Homebrew #61

jbrisbin opened this issue Apr 2, 2011 · 7 comments

Comments

@jbrisbin
Copy link

jbrisbin commented Apr 2, 2011

I'm trying to build erlv8 on my Mac with pkg-config installed from Homebrew. This puts a symlink in /usr/share/aclocal that points to /usr/local/share/aclocal/pkg.m4.

The build doesn't like this symlink. When I copy the file from /usr/local/share/aclocal to /usr/share/aclocal, the build proceeds.

@yrashk
Copy link
Member

yrashk commented Apr 2, 2011

Thanks for submitting this bug. Will take a closer look shortly. I am on OSX, too and using Homebrew as well. Will try to figure out what exactly is causing the problem.

@yrashk
Copy link
Member

yrashk commented Apr 2, 2011

By the way, any console output you can share?

@yrashk
Copy link
Member

yrashk commented Apr 2, 2011

Is your setup the same way as mine?

$ ls -la /usr/local/bin/pkg-config
lrwxr-xr-x 1 yrashk staff 40 17 Jan 18:41 /usr/local/bin/pkg-config -> ../Cellar/pkg-config/0.25/bin/pkg-config

$ ls -la /usr/share/aclocal
total 640
drwxr-xr-x 13 root wheel 442 16 Jan 21:04 .
drwxr-xr-x 74 root wheel 2516 9 Mar 03:44 ..
-rw-r--r-- 1 root wheel 2617 18 May 2009 argz.m4
-rw-r--r-- 1 root wheel 1807 18 May 2009 bison-i18n.m4
-rw-r--r-- 1 root wheel 257740 18 May 2009 libtool.m4
-rw-r--r-- 1 root wheel 7880 28 May 2009 libxml.m4
-rw-r--r-- 1 root wheel 8119 18 May 2009 libxslt.m4
-rw-r--r-- 1 root wheel 27363 18 May 2009 ltdl.m4
-rw-r--r-- 1 root wheel 11927 18 May 2009 ltoptions.m4
-rw-r--r-- 1 root wheel 4274 18 May 2009 ltsugar.m4
-rw-r--r-- 1 root wheel 701 18 May 2009 ltversion.m4
-rw-r--r-- 1 root wheel 5707 18 May 2009 lt~obsolete.m4
-rw-r--r-- 1 root wheel 12433 4 Jul 2007 wxwin.m4

$ ls -la /usr/local/share/aclocal

total 40
drwxr-xr-x 7 yrashk staff 238 14 Feb 15:28 .
drwxr-xr-x 24 yrashk staff 816 8 Mar 19:15 ..
lrwxr-xr-x 1 yrashk staff 50 4 Feb 18:43 glib-2.0.m4 -> ../../Cellar/glib/2.24.2/share/aclocal/glib-2.0.m4
lrwxr-xr-x 1 yrashk staff 54 4 Feb 18:43 glib-gettext.m4 -> ../../Cellar/glib/2.24.2/share/aclocal/glib-gettext.m4
lrwxr-xr-x 1 yrashk staff 49 4 Feb 18:46 gtk-2.0.m4 -> ../../Cellar/gtk+/2.20.1/share/aclocal/gtk-2.0.m4
lrwxr-xr-x 1 yrashk staff 45 14 Feb 15:28 nspr.m4 -> ../../Cellar/nspr/4.8.6/share/aclocal/nspr.m4
lrwxr-xr-x 1 yrashk staff 49 17 Jan 18:41 pkg.m4 -> ../../Cellar/pkg-config/0.25/share/aclocal/pkg.m4

@jbrisbin
Copy link
Author

jbrisbin commented Apr 2, 2011

The only difference I can see is that in /usr/share/aclocal I have a symlink:

lrwxr-xr-x 1 root wheel 31 Mar 29 19:21 pkg.m4 -> /usr/local/share/aclocal/pkg.m4

And it's only on the configure step. I can't repeat it by just running make.

The error specifically was a "file not found: /usr/bin/../share/aclocal/pkg.m4" on configure.

jb

On Apr 2, 2011, at 1:58 AM, yrashk wrote:

Is your setup the same way mine?

$ ls -la /usr/local/bin/pkg-config
lrwxr-xr-x 1 yrashk staff 40 17 Jan 18:41 /usr/local/bin/pkg-config -> ../Cellar/pkg-config/0.25/bin/pkg-config
$ ls -la /usr/share/aclocal
total 640
drwxr-xr-x 13 root wheel 442 16 Jan 21:04 .
drwxr-xr-x 74 root wheel 2516 9 Mar 03:44 ..
-rw-r--r-- 1 root wheel 2617 18 May 2009 argz.m4
-rw-r--r-- 1 root wheel 1807 18 May 2009 bison-i18n.m4
-rw-r--r-- 1 root wheel 257740 18 May 2009 libtool.m4
-rw-r--r-- 1 root wheel 7880 28 May 2009 libxml.m4
-rw-r--r-- 1 root wheel 8119 18 May 2009 libxslt.m4
-rw-r--r-- 1 root wheel 27363 18 May 2009 ltdl.m4
-rw-r--r-- 1 root wheel 11927 18 May 2009 ltoptions.m4
-rw-r--r-- 1 root wheel 4274 18 May 2009 ltsugar.m4
-rw-r--r-- 1 root wheel 701 18 May 2009 ltversion.m4
-rw-r--r-- 1 root wheel 5707 18 May 2009 lt~obsolete.m4
-rw-r--r-- 1 root wheel 12433 4 Jul 2007 wxwin.m4
$ ls -la /usr/local/share/aclocal
total 40
drwxr-xr-x 7 yrashk staff 238 14 Feb 15:28 .
drwxr-xr-x 24 yrashk staff 816 8 Mar 19:15 ..
lrwxr-xr-x 1 yrashk staff 50 4 Feb 18:43 glib-2.0.m4 -> ../../Cellar/glib/2.24.2/share/aclocal/glib-2.0.m4
lrwxr-xr-x 1 yrashk staff 54 4 Feb 18:43 glib-gettext.m4 -> ../../Cellar/glib/2.24.2/share/aclocal/glib-gettext.m4
lrwxr-xr-x 1 yrashk staff 49 4 Feb 18:46 gtk-2.0.m4 -> ../../Cellar/gtk+/2.20.1/share/aclocal/gtk-2.0.m4
lrwxr-xr-x 1 yrashk staff 45 14 Feb 15:28 nspr.m4 -> ../../Cellar/nspr/4.8.6/share/aclocal/nspr.m4
lrwxr-xr-x 1 yrashk staff 49 17 Jan 18:41 pkg.m4 -> ../../Cellar/pkg-config/0.25/share/aclocal/pkg.m4

Reply to this email directly or view it on GitHub:
#61 (comment)

Thanks!

Jon Brisbin

http://jbrisbin.com
Twitter: @j_brisbin

@yrashk
Copy link
Member

yrashk commented Apr 2, 2011

can you paste the full build log?

@yrashk
Copy link
Member

yrashk commented Apr 5, 2011

Any updates on the build log or is this bug no longer the case?

@jbrisbin
Copy link
Author

jbrisbin commented Apr 5, 2011

I haven't had a chance to try this from scratch again. It takes a while for the build and I haven't had time to do it.

I'll let you know if I see a problem.

On Apr 5, 2011, at 1:13 AM, yrashk wrote:

Any updates on the build log or is this bug no longer the case?

Reply to this email directly or view it on GitHub:
#61 (comment)

Thanks!

Jon Brisbin

http://jbrisbin.com
Twitter: @j_brisbin

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

2 participants