riak-0.8.1 compilation problem on OS X 10.5.8

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

riak-0.8.1 compilation problem on OS X 10.5.8

Maas-Maarten Zeeman
Hello,

I can't compile riak-0.8.1 compilation problem on OS X 10.5.8. The  
strange thing is that I can compile it on a 10.4 PPC.

The failing component is erlang_js.

gcc -o prlink.o -c      -Wall -fno-common -pthread -O2 -fPIC  -UDEBUG  
-DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -
DHAVE_SOCKLEN_T=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -
DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -
I../../../dist/include/nspr -I../../../pr/include -I../../../pr/
include/private -I/Developer/Headers/FlatCarbon  prlink.c
In file included from /System/Library/Frameworks/
CoreServices.framework/Headers/CoreServices.h:41,
                  from /Developer/Headers/FlatCarbon/CodeFragments.h:1,
                  from prlink.c:48:
/System/Library/Frameworks/CoreServices.framework/Frameworks/
LaunchServices.framework/Headers/LaunchServices.h:41:40: error:  
LaunchServices/UTCoreTypes.h: No such file or directory
...
...


It looks like the nsprpub is configured wrong or something like that.  
Any idea? I have  a standard core 2 duo intel imac. Nothing fancy.

Kind regards,

Maas

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: riak-0.8.1 compilation problem on OS X 10.5.8

Rusty Klophaus
Hi Maas,

As of Riak 0.9 (released this past Wednesday), we now have pre-built versions of Riak available for download for a variety of OS's:

 
I'd recommend that you start here rather than trying to compile Riak yourself. 

That said, if you want to proceed with building Riak from source code, try re-installing the MacOSX developer tools, as it sounds like something might have gone missing.

Running: 

ls -l /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/

Should give you this:

-rw-r--r--  1 root  wheel  42869 Oct 27  2007 IconsCore.h
-rw-r--r--  1 root  wheel  50314 Oct 27  2007 LSInfo.h
-rw-r--r--  1 root  wheel  16136 Oct 27  2007 LSOpen.h
-rw-r--r--  1 root  wheel   7407 Oct 27  2007 LSQuarantine.h
-rw-r--r--  1 root  wheel  26994 Oct 27  2007 LSSharedFileList.h
-rw-r--r--  1 root  wheel    979 Oct 27  2007 LaunchServices.h
-rw-r--r--  1 root  wheel  34779 Oct 27  2007 UTCoreTypes.h
-rw-r--r--  1 root  wheel  23818 Oct 27  2007 UTType.h

Best,
Rusty


On Tue, Mar 9, 2010 at 5:22 AM, Maas-Maarten Zeeman <[hidden email]> wrote:
Hello,

I can't compile riak-0.8.1 compilation problem on OS X 10.5.8. The strange thing is that I can compile it on a 10.4 PPC.

The failing component is erlang_js.

gcc -o prlink.o -c      -Wall -fno-common -pthread -O2 -fPIC  -UDEBUG  -DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/Headers/FlatCarbon  prlink.c
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:41,
                from /Developer/Headers/FlatCarbon/CodeFragments.h:1,
                from prlink.c:48:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:41:40: error: LaunchServices/UTCoreTypes.h: No such file or directory
...
...


It looks like the nsprpub is configured wrong or something like that. Any idea? I have  a standard core 2 duo intel imac. Nothing fancy.

Kind regards,

Maas

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



--
Rusty Klophaus
Basho Technologies, Inc.
http://basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: riak-0.8.1 compilation problem on OS X 10.5.8

Erik Onnen
Experienced the same issue after upgrading Leopard + dev tools to Snow Leopard. Full re-install of dev tools is needed for a couple of reasons.

On Mar 12, 2010, at 10:44 AM, Rusty Klophaus wrote:

Hi Maas,

As of Riak 0.9 (released this past Wednesday), we now have pre-built versions of Riak available for download for a variety of OS's:

 
I'd recommend that you start here rather than trying to compile Riak yourself. 

That said, if you want to proceed with building Riak from source code, try re-installing the MacOSX developer tools, as it sounds like something might have gone missing.

Running: 

ls -l /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/

Should give you this:

-rw-r--r--  1 root  wheel  42869 Oct 27  2007 IconsCore.h
-rw-r--r--  1 root  wheel  50314 Oct 27  2007 LSInfo.h
-rw-r--r--  1 root  wheel  16136 Oct 27  2007 LSOpen.h
-rw-r--r--  1 root  wheel   7407 Oct 27  2007 LSQuarantine.h
-rw-r--r--  1 root  wheel  26994 Oct 27  2007 LSSharedFileList.h
-rw-r--r--  1 root  wheel    979 Oct 27  2007 LaunchServices.h
-rw-r--r--  1 root  wheel  34779 Oct 27  2007 UTCoreTypes.h
-rw-r--r--  1 root  wheel  23818 Oct 27  2007 UTType.h

Best,
Rusty


On Tue, Mar 9, 2010 at 5:22 AM, Maas-Maarten Zeeman <[hidden email]> wrote:
Hello,

I can't compile riak-0.8.1 compilation problem on OS X 10.5.8. The strange thing is that I can compile it on a 10.4 PPC.

The failing component is erlang_js.

gcc -o prlink.o -c      -Wall -fno-common -pthread -O2 -fPIC  -UDEBUG  -DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/Headers/FlatCarbon  prlink.c
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:41,
                from /Developer/Headers/FlatCarbon/CodeFragments.h:1,
                from prlink.c:48:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:41:40: error: LaunchServices/UTCoreTypes.h: No such file or directory
...
...


It looks like the nsprpub is configured wrong or something like that. Any idea? I have  a standard core 2 duo intel imac. Nothing fancy.

Kind regards,

Maas

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



--
Rusty Klophaus
Basho Technologies, Inc.
http://basho.com
_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: riak-0.8.1 compilation problem on OS X 10.5.8

Maas-Maarten Zeeman
Strange I thought I somehow managed to delete that file. Anyhow, upgrading Xcode from 3.1.2 to 3.1.3 solved the problem. Btw, I'm still on Leopard.

Regards,

Maas

Experienced the same issue after upgrading Leopard + dev tools to Snow Leopard. Full re-install of dev tools is needed for a couple of reasons.

On Mar 12, 2010, at 10:44 AM, Rusty Klophaus wrote:

Hi Maas,

As of Riak 0.9 (released this past Wednesday), we now have pre-built versions of Riak available for download for a variety of OS's:

 
I'd recommend that you start here rather than trying to compile Riak yourself. 

That said, if you want to proceed with building Riak from source code, try re-installing the MacOSX developer tools, as it sounds like something might have gone missing.

Running: 

ls -l /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/

Should give you this:

-rw-r--r--  1 root  wheel  42869 Oct 27  2007 IconsCore.h
-rw-r--r--  1 root  wheel  50314 Oct 27  2007 LSInfo.h
-rw-r--r--  1 root  wheel  16136 Oct 27  2007 LSOpen.h
-rw-r--r--  1 root  wheel   7407 Oct 27  2007 LSQuarantine.h
-rw-r--r--  1 root  wheel  26994 Oct 27  2007 LSSharedFileList.h
-rw-r--r--  1 root  wheel    979 Oct 27  2007 LaunchServices.h
-rw-r--r--  1 root  wheel  34779 Oct 27  2007 UTCoreTypes.h
-rw-r--r--  1 root  wheel  23818 Oct 27  2007 UTType.h

Best,
Rusty


On Tue, Mar 9, 2010 at 5:22 AM, Maas-Maarten Zeeman <[hidden email]> wrote:
Hello,

I can't compile riak-0.8.1 compilation problem on OS X 10.5.8. The strange thing is that I can compile it on a 10.4 PPC.

The failing component is erlang_js.

gcc -o prlink.o -c      -Wall -fno-common -pthread -O2 -fPIC  -UDEBUG  -DNDEBUG=1 -DXP_UNIX=1 -DDARWIN=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1 -DXP_MACOSX=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I../../../pr/include -I../../../pr/include/private -I/Developer/Headers/FlatCarbon  prlink.c
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:41,
                from /Developer/Headers/FlatCarbon/CodeFragments.h:1,
                from prlink.c:48:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Headers/LaunchServices.h:41:40: error: LaunchServices/UTCoreTypes.h: No such file or directory
...
...


It looks like the nsprpub is configured wrong or something like that. Any idea? I have  a standard core 2 duo intel imac. Nothing fancy.

Kind regards,

Maas

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



--
Rusty Klophaus
Basho Technologies, Inc.
http://basho.com
_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com



_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com