[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] regresssion from 2011: git head fails to build on NetBSD

From: Hal Murray
Subject: Re: [gpsd-dev] regresssion from 2011: git head fails to build on NetBSD
Date: Sun, 27 Oct 2013 13:50:32 -0700

address@hidden said:
>> You might look into making just plain "scons" give an error
>> message if chrpath isn't available.  I don't understand that 
>> area, but I'd be happy to type some magic command (or edit
>> a file) if I really want to build without chrpath.

> It sort of does - look at the autoconf-style messages above the build
> proper. 

The problem is that there is lots of printout and any warnings like that have 
scrolled way off the top of my screen.

I like Greg's suggestion of having scons check bail up front if chrpath isn't 

[Context is 3 tests failed]
>> "test/daemon/trimble-lassen_iq-3dfix.log"
>> "test/daemon/trimble-lassen_iq-playacar.log"
>> "test/daemon/trimble-lassen_iq.log"

> I think that means your Python installation is too old.  What version are
> you running? 

Python 2.7.5 (default, Oct  8 2013, 12:18:28) 
[GCC 4.8.1 20130814 (Red Hat 4.8.1-6)] on linux2

That's on a not-yet-released Fedora 20 so there might be something strange on 
that system.

I tried it on a Fedora 19 system but I've got a new problem.  This now 
happens on both systems.

gcc -o gpsdecode -Wl,-rpath=/home/murray/gpsd/gpsd -Wl,-rpath=//usr/local/lib 
gpsdecode.o -L. -L/usr/local/lib -lgpsd -lgps -lm
./ undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
scons: *** [gpsdecode] Error 1
scons: building terminated because of errors.

It worked a while ago on the F-20 box.  (That's how we got far enough to 
discuss errors from scons check.)


This error message is followed by a backtrace which isn't helpful.
  Package ncurses was not found in the pkg-config search path.
  Perhaps you should add the directory containing `ncurses.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'ncurses' found

You might tweak that to suggest looking in build.txt and putting a paragraph 
in there about needing to install ncurses-devel on Fedora.

These are my opinions.  I hate spam.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]