[Flightgear-devel] Compilation broken

2010-07-02 Thread stefan riemens
Hi all,

After doing git pull, flightgear doesn't configure anymore:

../flightgear/configure --prefix=/home/stefan/flightgear/install
--with-simgear=/home/stefan/flightgear/install
--with-osg=/home/stefan/flightgear/install
configure: error: cannot find sources (src/Aircraft/aircraft.cxx) in
../flightgear or ..

Looks like James forgot to update the autoconf scripts...

Thanks,
Stefan

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compilation broken

2010-07-02 Thread James Turner

On 2 Jul 2010, at 10:04, stefan riemens wrote:

 After doing git pull, flightgear doesn't configure anymore:
 
 ../flightgear/configure --prefix=/home/stefan/flightgear/install
 --with-simgear=/home/stefan/flightgear/install
 --with-osg=/home/stefan/flightgear/install
 configure: error: cannot find sources (src/Aircraft/aircraft.cxx) in
 ../flightgear or ..
 
 Looks like James forgot to update the autoconf scripts...

You updated at an unlucky time - I've fixed this and some other niggles, it 
should all be building cleanly again now.

James
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Build server updates

2010-07-02 Thread James Turner
I've found some spare hardware to run the build server (Hudson) on, and it 
seems bearable for me, but I suspect less pleasant for people on the other end 
of my cable connection.

The good news - thanks to some great documentation from Fred, the Windows build 
is stable, using MSVC no less. You can grab a fgfs.exe (and .pdb) from any 
successful build, and it should 'just work', if you drop it into a current 2.0 
install. Future work on some improved packaging of these builds will follow.

The better news - all three platforms are now green (i.e, building correctly), 
and should update reliably (naturally I'll be monitoring that). At present, I 
get emailed when a build breaks, and when it goes green again. If desired, I 
can add a mailing list or other individual addresses to the email 
notifications. Given our commit rate, I'm not sure if it warrants a new mailing 
list or not - it depends how often we break the build :)

Another step is to email committers directly when they break the build - which 
I shall be experimenting with. If you're a commiter to FG or SG, you may see 
some odd emails (from 'me', initially, until we setup a 
buildser...@flightgear.org address).

James


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] adding mysql query statement to FG source code

2010-07-02 Thread raghvendra misra
HI all,
i have some strange requirement.
I wanted to open a database(mysql) during flightgear startup. I want to use
to to query some parameters like pilots name, date of flight, duration etc.
for that i have created a small c++ code to access the database which works
fine.

It is a very small piece of code but for compiling it have to specify the
mysql include directory and the library path like this:
(g++ -o db db.cc -L/usr/include/mysql -lmysqlclient -I/usr/include/mysql)
As u can see i have to give the include path and library path.

however i have to integrate it to flightgear(preferably fg_command.cxx). i
don't have any idea as how can i give these paths in flightgear source code.
what i think i have to add it some where in the Makefile.(i am not sure)
How can i do this
Plz suggest me how can i proceed..

raghav
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compilation broken

2010-07-02 Thread stefan riemens
Hmm, I'm sorry... it doesn't.

Thanks, Stefan

2010/7/2, James Turner ja...@bugless.co.uk:

 On 2 Jul 2010, at 10:04, stefan riemens wrote:

 After doing git pull, flightgear doesn't configure anymore:

 ../flightgear/configure --prefix=/home/stefan/flightgear/install
 --with-simgear=/home/stefan/flightgear/install
 --with-osg=/home/stefan/flightgear/install
 configure: error: cannot find sources (src/Aircraft/aircraft.cxx) in
 ../flightgear or ..

 Looks like James forgot to update the autoconf scripts...

 You updated at an unlucky time - I've fixed this and some other niggles, it
 should all be building cleanly again now.

 James
 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compilation broken

2010-07-02 Thread James Turner

On 2 Jul 2010, at 13:11, stefan riemens wrote:

 Hmm, I'm sorry... it doesn't.

Hmmm ... check configure.ac no longer refers to Aircraft/aircraft.cxx

Ah, perhaps you need to re-run autogen.sh!

James

'I love the GNU autotools'


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Compilation broken

2010-07-02 Thread stefan riemens
Check, that fixed it. Thanks a lot! (should have thought of this myself...)

Stefan

2010/7/2, James Turner ja...@bugless.co.uk:

 On 2 Jul 2010, at 13:11, stefan riemens wrote:

 Hmm, I'm sorry... it doesn't.

 Hmmm ... check configure.ac no longer refers to Aircraft/aircraft.cxx

 Ah, perhaps you need to re-run autogen.sh!

 James

 'I love the GNU autotools'


 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] adding mysql query statement to FG source code

2010-07-02 Thread Torsten Dreyer
 HI all,
 i have some strange requirement.
 I wanted to open a database(mysql) during flightgear startup. I want to use
 to to query some parameters like pilots name, date of flight, duration etc.
 for that i have created a small c++ code to access the database which works
 fine.
 
 It is a very small piece of code but for compiling it have to specify the
 mysql include directory and the library path like this:
 (g++ -o db db.cc -L/usr/include/mysql -lmysqlclient -I/usr/include/mysql)
 As u can see i have to give the include path and library path.
 
 however i have to integrate it to flightgear(preferably fg_command.cxx). i
 don't have any idea as how can i give these paths in flightgear source
  code. what i think i have to add it some where in the Makefile.(i am not
  sure) How can i do this
 Plz suggest me how can i proceed..

Hi,

in src/Main/Makefile.am, add
-lmysql -lmysqlclient to the fgfs_LDADD variable
and the path to your mysql includes to the INCLUDES variable at the very 
bottom of the file.

This should do the trick

Torsten

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] git questions

2010-07-02 Thread dave perry

Thanks Tim,

Here's the result:
[...@dave-pc fgdata]$ git push origin master
fatal: protocol error: expected sha/ref, got '
--
The git:// protocol is read-only.

Please use the push url as listed on the repository page.
--'
Do I need authorization to be able to push changes to fgdata?

On 07/02/2010 11:48 AM, Tim Moore wrote:



On Fri, Jul 2, 2010 at 5:43 PM, dave perry skida...@mindspring.com 
mailto:skida...@mindspring.com wrote:


I am having syntax issues trying to push changes to the git fgdata
repository.  I have made the edits and git add's, git rm's, git
submit,
and git status shows my local fgdata master branch clean.  But I have
not been able to push these changes to the repository.

I presume you meant git commit instead of git submit.

What is the syntax for this?  Can I do this from the two local
directories that have changes?

Assuming you've committed your changes to your local master branch, 
then git push origin master will do the trick. If your local branch 
is no longer up-to-date because someone else has committed something 
to the repo, then you'll need to merge those changes before you can 
commit your own, either with git pull origin or git fetch origin; 
git merge origin/master.


Tim

Thanks in advance,
Dave P.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first http://sprint.com/first --
http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
mailto:Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first


___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
   


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] git questions

2010-07-02 Thread Melchior FRANZ
JFTR: I *did* answer, but your provider rejected it

  skida...@mindspring.com:
  Connected to 207.69.189.219 but sender was rejected.
  Remote host said: 550 550 Dynamic/zombied/spam IPs blocked. \
  Write blockedbyearthl...@abuse.earthlink.net

m.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel