error while building uhd

2015-03-04 Thread Jim Goudie
Hello... 

I was installing Gqrx, a software-defined radio program.  The install took much 
longer than I expected, but then this is my first experience with Macports... I 
didn't know what to expect.  When it finally stopped, it ended with an error 
while building uhd (see below).  Any help understanding this and what to do 
next?  I'm very new with all of this...

Thanks, Jim


---  Fetching distfiles for uhd
---  Attempting to fetch uhd-003_008_002.tar.gz from 
https://github.com/EttusResearch/uhd/tarball/release_003_008_002
---  Verifying checksums for uhd   
 
---  Extracting uhd
---  Configuring uhd
---  Building uhd
Error: org.macports.build for port uhd returned: command execution failed
Error: Failed to install uhd
Please see the log file for port uhd for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log
Error: The following dependencies were not installed: gnuradio uhd xmlto 
findutils getopt gr-osmosdr airspy bladeRF tecla git p5.16-authen-sasl 
p5.16-digest-hmac p5.16-digest-sha1 p5.16-gssapi p5.16-error p5.16-net-smtp-ssl 
p5.16-term-readkey rsync popt gr-fcdproplus hackrf rtl-sdr
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port Gqrx failed

I tried running the install again, and then looked at the log file:

Last login: Wed Mar  4 16:51:29 on ttys000
Office:~ Jim$ sudo port install Gqrx
Password:
---  Computing dependencies for gqrx
---  Dependencies to be installed: gnuradio uhd xmlto findutils getopt 
gr-osmosdr airspy bladeRF tecla git p5.16-authen-sasl p5.16-digest-hmac 
p5.16-digest-sha1 p5.16-gssapi p5.16-error p5.16-net-smtp-ssl 
p5.16-term-readkey rsync popt gr-fcdproplus hackrf rtl-sdr
---  Building uhd
Error: org.macports.build for port uhd returned: command execution failed
Error: Failed to install uhd
Please see the log file for port uhd for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log
Error: The following dependencies were not installed: gnuradio uhd xmlto 
findutils getopt gr-osmosdr airspy bladeRF tecla git p5.16-authen-sasl 
p5.16-digest-hmac p5.16-digest-sha1 p5.16-gssapi p5.16-error p5.16-net-smtp-ssl 
p5.16-term-readkey rsync popt gr-fcdproplus hackrf rtl-sdr
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port Gqrx failed
Office:~ Jim$ 
Office:~ Jim$ 
Office:~ Jim$ vim 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log

:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:11:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:11:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:11:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:12:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:12:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:12:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:12:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:13:
 error: integer constant is too large for ‘long’ type
:info:build 
/opt/local/var/macports/build

Re: error while building uhd

2015-03-04 Thread Rainer Müller
On 2015-03-04 23:09, Jim Goudie wrote:
 Office:~ Jim$ vim
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log
 
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:11:
 error: integer constant is too large for ‘long’ type

On which version of OS X are you building this? (`sw_vers`)
Which version of Xcode? (`xcodebuild -version`)
Is this a 32-bit machine?

I guess the constants in this file would need to be declared with a '.0'
suffix for double.

Rainer
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: error while building uhd

2015-03-04 Thread Michael Dickens
Hi Jim - I'm going to work with you off-list since this is a 32/64 bit
issue  will require some programming work on my part and testing on
your part. If we come up with something relevant to this list, I'll
email a summary. - MLD

On Wed, Mar 4, 2015, at 06:27 PM, Jim Goudie wrote:
 OS X 10.6.8
 Xcode 3.2  (I haven't found an upgrade for this, yet... 3.2.6?)
 Yes... it is a 32-bit Macbook Pro, 2 Ghz Intel Core Duo; 2 GB ram
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: error while building uhd

2015-03-04 Thread Jim Goudie
Hello Rainer,

OS X 10.6.8
Xcode 3.2  (I haven't found an upgrade for this, yet... 3.2.6?)
Yes... it is a 32-bit Macbook Pro, 2 Ghz Intel Core Duo; 2 GB ram

Jim

On Mar 4, 2015, at 6:07 PM, Rainer Müller wrote:

 On 2015-03-04 23:09, Jim Goudie wrote:
 Office:~ Jim$ vim
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log
 
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work/uhd-003_008_002/host/lib/usrp/common/ad9361_driver/ad9361_synth_lut.h:11:
 error: integer constant is too large for ‘long’ type
 
 On which version of OS X are you building this? (`sw_vers`)
 Which version of Xcode? (`xcodebuild -version`)
 Is this a 32-bit machine?
 
 I guess the constants in this file would need to be declared with a '.0'
 suffix for double.
 
 Rainer

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users