gpsbabel HEAD version build problem on OS X

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

gpsbabel HEAD version build problem on OS X

Patrick Steiner-4
Hi,

I currently try to build the latest gpsbabel version (HEAD) via homebrew. But I always get the following error:

clang++  -g -O2 -Wall -c   -I. -F/usr/local/Cellar/qt/4.8.6/lib  -DHAVE_CONFIG_H -DNEW_STRINGS garmin_tables.cc -o garmin_tables.o
./mkstyle.sh > internal_styles.cc || (rm -f internal_styles.cc ; exit 1)
Error: can't find gnu sed
make: *** [internal_styles.cc] Error 1
make: *** Waiting for unfinished jobs....

So I have installed gnu-sed. but I get the same problem. But this works:

$ which gsed
/usr/local/bin/gsed

I also looked at the mkstyle.sh and there is a special sed check for BSD systems

 elif [ `uname -s` = "FreeBSD" ]; then
         # BSD sed is fine
        SED=/usr/bin/sed

Maybe there should also be a check for OS X? uname -s outputs "Darwin" on OS X.


greetings,
 patrick

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

signature.asc (465 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gpsbabel HEAD version build problem on OS X

Robert Lipe-4
My primary development system is OS/X.  gsed is in /opt/local/bin/ for me and no special casing is required.

You shoudl probably tackle the actual failure.  Does your gsed actually work?
gsed --version
gsed (GNU sed) 4.2.2
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://g [ ... ] 

That said, internal_styles.sh is a generated file and is checked in.  A developer really only needs to regenerate it if changing the contents of styles/ to add or change a build-in xcsv file.  If you want to otherwise work with development head, just svn checkout and touch that file before it gets a chance to rebuild it.



On Sat, Jul 5, 2014 at 9:42 AM, Patrick Steiner <[hidden email]> wrote:
Hi,

I currently try to build the latest gpsbabel version (HEAD) via homebrew. But I always get the following error:

clang++  -g -O2 -Wall -c   -I. -F/usr/local/Cellar/qt/4.8.6/lib  -DHAVE_CONFIG_H -DNEW_STRINGS garmin_tables.cc -o garmin_tables.o
./mkstyle.sh > internal_styles.cc || (rm -f internal_styles.cc ; exit 1)
Error: can't find gnu sed
make: *** [internal_styles.cc] Error 1
make: *** Waiting for unfinished jobs....

So I have installed gnu-sed. but I get the same problem. But this works:

$ which gsed
/usr/local/bin/gsed

I also looked at the mkstyle.sh and there is a special sed check for BSD systems

 elif [ `uname -s` = "FreeBSD" ]; then
         # BSD sed is fine
        SED=/usr/bin/sed

Maybe there should also be a check for OS X? uname -s outputs "Darwin" on OS X.


greetings,
 patrick

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc



------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|

Re: gpsbabel HEAD version build problem on OS X

Patrick Steiner-4
gsed works also on my system


gsed --version
gsed (GNU sed) 4.2.2
Copyright (C) 2012 Free Software Foundation, Inc.


gsed is installed in /usr/local/bin on my system via homebrew. I suspect you installed you version via mac-ports.

I only need the HEAD version of gpsbabel because there is this whitespace problem fixed (r4873).

On 05.07.2014, at 19:51, Robert Lipe <[hidden email]> wrote:

My primary development system is OS/X.  gsed is in /opt/local/bin/ for me and no special casing is required.

You shoudl probably tackle the actual failure.  Does your gsed actually work?
gsed --version
gsed (GNU sed) 4.2.2
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://g [ ... ] 

That said, internal_styles.sh is a generated file and is checked in.  A developer really only needs to regenerate it if changing the contents of styles/ to add or change a build-in xcsv file.  If you want to otherwise work with development head, just svn checkout and touch that file before it gets a chance to rebuild it.



On Sat, Jul 5, 2014 at 9:42 AM, Patrick Steiner <[hidden email]> wrote:
Hi,

I currently try to build the latest gpsbabel version (HEAD) via homebrew. But I always get the following error:

clang++  -g -O2 -Wall -c   -I. -F/usr/local/Cellar/qt/4.8.6/lib  -DHAVE_CONFIG_H -DNEW_STRINGS garmin_tables.cc -o garmin_tables.o
./mkstyle.sh > internal_styles.cc || (rm -f internal_styles.cc ; exit 1)
Error: can't find gnu sed
make: *** [internal_styles.cc] Error 1
make: *** Waiting for unfinished jobs....

So I have installed gnu-sed. but I get the same problem. But this works:

$ which gsed
/usr/local/bin/gsed

I also looked at the mkstyle.sh and there is a special sed check for BSD systems

 elif [ `uname -s` = "FreeBSD" ]; then
         # BSD sed is fine
        SED=/usr/bin/sed

Maybe there should also be a check for OS X? uname -s outputs "Darwin" on OS X.


greetings,
 patrick

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc




------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

signature.asc (465 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gpsbabel HEAD version build problem on OS X

Patrick Steiner-4
I currently build gpsbabel direct via svn (didn't use homebrew) now everthing worked fine. 
strange...


thanks, anyway.

 patrick

On 05.07.2014, at 21:23, Patrick Steiner <[hidden email]> wrote:

gsed works also on my system


gsed --version
gsed (GNU sed) 4.2.2
Copyright (C) 2012 Free Software Foundation, Inc.


gsed is installed in /usr/local/bin on my system via homebrew. I suspect you installed you version via mac-ports.

I only need the HEAD version of gpsbabel because there is this whitespace problem fixed (r4873).

On 05.07.2014, at 19:51, Robert Lipe <[hidden email]> wrote:

My primary development system is OS/X.  gsed is in /opt/local/bin/ for me and no special casing is required.

You shoudl probably tackle the actual failure.  Does your gsed actually work?
gsed --version
gsed (GNU sed) 4.2.2
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://g [ ... ] 

That said, internal_styles.sh is a generated file and is checked in.  A developer really only needs to regenerate it if changing the contents of styles/ to add or change a build-in xcsv file.  If you want to otherwise work with development head, just svn checkout and touch that file before it gets a chance to rebuild it.



On Sat, Jul 5, 2014 at 9:42 AM, Patrick Steiner <[hidden email]> wrote:
Hi,

I currently try to build the latest gpsbabel version (HEAD) via homebrew. But I always get the following error:

clang++  -g -O2 -Wall -c   -I. -F/usr/local/Cellar/qt/4.8.6/lib  -DHAVE_CONFIG_H -DNEW_STRINGS garmin_tables.cc -o garmin_tables.o
./mkstyle.sh > internal_styles.cc || (rm -f internal_styles.cc ; exit 1)
Error: can't find gnu sed
make: *** [internal_styles.cc] Error 1
make: *** Waiting for unfinished jobs....

So I have installed gnu-sed. but I get the same problem. But this works:

$ which gsed
/usr/local/bin/gsed

I also looked at the mkstyle.sh and there is a special sed check for BSD systems

 elif [ `uname -s` = "FreeBSD" ]; then
         # BSD sed is fine
        SED=/usr/bin/sed

Maybe there should also be a check for OS X? uname -s outputs "Darwin" on OS X.


greetings,
 patrick

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc



------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc

signature.asc (465 bytes) Download Attachment