Re: [gt-user] Building gt6 beta1 from source on Mac OS X 10.9

2014-08-23 Thread Adam Mercer
On Fri, Aug 22, 2014 at 7:37 PM, Joseph Bester  wrote:
> I usually build from a shadow tree (mkdir build; cd build; ../configure)

That's good advice.

> but will look into distclean next week.

Thanks.

Cheers

Adam


Re: [gt-user] Building gt6 beta1 from source on Mac OS X 10.9

2014-08-22 Thread Joseph Bester
I usually build from a shadow tree (mkdir build; cd build; ../configure) but 
will look into distclean next week.

Joe

On Aug 22, 2014, at 7:08 PM, Adam Mercer  wrote:

> On Fri, Aug 22, 2014 at 5:19 PM, Adam Mercer  
> wrote:
> 
>> Thanks Joe, I'd installed pkg-config but I'd forgotten to set
>> PKG_CONFIG_PATH, Setting that allows me to build.
> 
> Not a major issue but after building I ran "make distclean" inorder to
> tweak the configure options and run a clean build but this failied
> with:
> 
> Making distclean in user_test
> rm -rf .libs _libs
> test -z "globus-gram-job-manager-user-test.pl.log" || rm -f
> globus-gram-job-manager-user-test.pl.log
> test -z "globus-gram-job-manager-user-test.pl.trs" || rm -f
> globus-gram-job-manager-user-test.pl.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f *.lo
> test -z "" || rm -f
> test . = "." || test -z "" || rm -f
> rm -f Makefile
> rm -f Makefile
> rm -f Makefile
> rm -f config.status config.cache config.log configure.lineno
> config.status.lineno
> rm -rf ./.deps
> rm -f Makefile
> rm -rf .libs _libs
> make[2]: *** No rule to make target `clean'.  Stop.
> make[1]: *** [globus_common-clean] Error 2
> make: *** [distclean-recursive] Error 1
> 
> Cheers
> 
> Adam



Re: [gt-user] Building gt6 beta1 from source on Mac OS X 10.9

2014-08-22 Thread Adam Mercer
On Fri, Aug 22, 2014 at 5:19 PM, Adam Mercer  wrote:

> Thanks Joe, I'd installed pkg-config but I'd forgotten to set
> PKG_CONFIG_PATH, Setting that allows me to build.

Not a major issue but after building I ran "make distclean" inorder to
tweak the configure options and run a clean build but this failied
with:

Making distclean in user_test
rm -rf .libs _libs
test -z "globus-gram-job-manager-user-test.pl.log" || rm -f
globus-gram-job-manager-user-test.pl.log
test -z "globus-gram-job-manager-user-test.pl.trs" || rm -f
globus-gram-job-manager-user-test.pl.trs
test -z "test-suite.log" || rm -f test-suite.log
rm -f *.lo
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f Makefile
rm -f Makefile
rm -f Makefile
rm -f config.status config.cache config.log configure.lineno
config.status.lineno
rm -rf ./.deps
rm -f Makefile
rm -rf .libs _libs
make[2]: *** No rule to make target `clean'.  Stop.
make[1]: *** [globus_common-clean] Error 2
make: *** [distclean-recursive] Error 1

Cheers

Adam


Re: [gt-user] Building gt6 beta1 from source on Mac OS X 10.9

2014-08-22 Thread Adam Mercer
On Aug 22, 2014 4:25 PM, "Joseph Bester"  wrote:
>
> This issue is mentioned in the admin install guide.
>
> From
http://toolkit.globus.org/toolkit/docs/6/admin/install/#gtadmin-platform-osx
:
>
> > The Globus Toolki build requires the pkg-config package to be
installed. It is available from freedesktop.org. Additionally, you'll need
to set the environment variable PKG_CONFIG_PATH to /usr/lib/pkgconfig prior
to running the configure script.

Thanks Joe, I'd installed pkg-config but I'd forgotten to set
PKG_CONFIG_PATH, Setting that allows me to build.

> Alternatively, you can try one of the binary packages of the globus
toolkit from http://www.globus.org/ftppub/gt6/installers/mac/

I noticed the binary installer but I'm working on repackaging of globus for
our collaboration that contains everything the scientists need to connect
to our clusters and building from source makes that easier.


Re: [gt-user] Building gt6 beta1 from source on Mac OS X 10.9

2014-08-22 Thread Joseph Bester
This issue is mentioned in the admin install guide.

From 
http://toolkit.globus.org/toolkit/docs/6/admin/install/#gtadmin-platform-osx :

> The Globus Toolki build requires the pkg-config package to be installed. It 
> is available from freedesktop.org. Additionally, you'll need to set the 
> environment variable PKG_CONFIG_PATH to /usr/lib/pkgconfig prior to running 
> the configure script.

You can get the pkg-config sources from  
http://pkgconfig.freedesktop.org/releases/

Alternatively, you can try one of the binary packages of the globus toolkit 
from http://www.globus.org/ftppub/gt6/installers/mac/

Joe

On Aug 22, 2014, at 4:46 PM, Adam Mercer  wrote:

> Hi
> 
> I've been looking into building globus_toolkit-6.0.beta1 from source
> on Mac OS X 10.9 and am running into some problems.
> 
> Configuring initially fails as OpenSSL isn't found, looking further it
> seems that this is because configure is using pkg-config to try to
> find OpenSSL but as the default OpenSSL on Mac OS X doesn't provide
> the pkg-config files it fails to locate OpenSSL. Therefore I use
> various environment variables to specify the location:
> 
> PACKAGE_DEP_CFLAGS="-I/usr/include" PACKAGE_DEP_LIBS="-L/usr/lib -lssl
> -lcrypto" \
> CLIENT_TEST_PACKAGE_DEP_CFLAGS="-I/usr/include"
> CLIENT_TEST_PACKAGE_DEP_LIBS="-L/usr/lib -lssl -lcrypto" \
> GLOBUS_PKG_CFLAGS="-I/usr/include" GLOBUS_PKG_LIBS="-L/usr/lib -lssl 
> -lcrypto" \
> GLOBUS_CFLAGS="-I/usr/include" GLOBUS_LIBS="-L/usr/lib -lssl -lcrypto" \
>  ./configure --prefix=/path/to/install/globus6
> 
> This allows configure to proceed but then running "make" fails with:
> 
> Making all in library
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc
> -DPACKAGE_NAME=\"globus_callout\" -DPACKAGE_TARNAME=\"globus_callout\"
> -DPACKAGE_VERSION=\"3.11\" -DPACKAGE_STRING=\"globus_callout\ 3.11\"
> -DPACKAGE_BUGREPORT=\"https://globus.atlassian.net/\";
> -DPACKAGE_URL=\"\" -DPACKAGE=\"globus_callout\" -DVERSION=\"3.11\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I.  -I..
> -I../library/oldgaa -I/usr/include
> -I/Users/ram/git/macldg/source/tarballs/globus_toolkit-6.0.beta1/./libltdl
> -g -O2 -MT libglobus_callout_la-globus_callout.lo -MD -MP -MF
> .deps/libglobus_callout_la-globus_callout.Tpo -c -o
> libglobus_callout_la-globus_callout.lo `test -f 'globus_callout.c' ||
> echo './'`globus_callout.c
> libtool: compile:  gcc -DPACKAGE_NAME=\"globus_callout\"
> -DPACKAGE_TARNAME=\"globus_callout\" -DPACKAGE_VERSION=\"3.11\"
> "-DPACKAGE_STRING=\"globus_callout 3.11\""
> -DPACKAGE_BUGREPORT=\"https://globus.atlassian.net/\";
> -DPACKAGE_URL=\"\" -DPACKAGE=\"globus_callout\" -DVERSION=\"3.11\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I..
> -I../library/oldgaa -I/usr/include
> -I/Users/ram/git/macldg/source/tarballs/globus_toolkit-6.0.beta1/./libltdl
> -g -O2 -MT libglobus_callout_la-globus_callout.lo -MD -MP -MF
> .deps/libglobus_callout_la-globus_callout.Tpo -c globus_callout.c
> -fno-common -DPIC -o .libs/libglobus_callout_la-globus_callout.o
> globus_callout.c:23:10: fatal error: 'globus_common.h' file not found
> #include "globus_common.h"
> ^
> 1 error generated.
> make[4]: *** [libglobus_callout_la-globus_callout.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [globus_callout-stamp] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> $
> 
> Ideas?
> 
> Cheers
> 
> Adam