List Info

Thread: Re: Question about SHELL command




Re: Question about SHELL command
country flaguser name
United States
2007-08-03 14:04:20
--- Rene Rivera <grafikrobotgmail.com> wrote:
> also you can download the docs along with the source
> for bjam from 


Rene,

Thank you for your reply.  I downloaded and reviewed
the documentation for "Boost.Jam  Version 3.1.14".


Boost.Jam 3.1.14 documentation (thanks Rene) says:
 rule SHELL ( command : * )

Boost Build 2 documentation (thanks Vladimir) says:
 local gtk_includes = [ SHELL "gtk-config
--cflags" ]
;

I tried both:
 WXFLAGS = SHELL("wx-config --cppflags") ;
 local WXFLAGS  = [ SHELL "wx-config --cppflags" ]
;

But neither worked.  Am I doing something wrong?  I am
using "Boost.Jam  Version 3.1.13"

Thank you,

Chris






       
____________________________________________________________
________________________
Be a better Heartthrob. Get better relationship answers from
someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=3965454
33
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: Question about SHELL command
country flaguser name
United States
2007-08-03 14:34:40
Chris Stankevitz wrote:
> I tried both:
>  WXFLAGS = SHELL("wx-config --cppflags") ;
>  local WXFLAGS  = [ SHELL "wx-config
--cppflags" ] ;
> 
> But neither worked.  Am I doing something wrong?  I am
> using "Boost.Jam  Version 3.1.13"

Hm, the equivalent seems to work just fine on my Ubuntu
machine all the 
way back to bjam 3.1.11:

====
grafikdroid:~$ cat config.jam
local conf = [ SHELL "libpng-config --cflags" ] ;
ECHO --- _$(conf)_ ;

grafikdroid:~$ bjam-3.1.11 -f config.jam
--- _-I/usr/include/libpng12
  _
don't know how to make all
...found 1 target...
...can't find 1 target...
grafikdroid:~$ bjam-3.1.12 -f config.jam
--- _-I/usr/include/libpng12
_
don't know how to make all
...found 1 target...
...can't find 1 target...
grafikdroid:~$ bjam-3.1.13 -f config.jam
--- _-I/usr/include/libpng12
_
don't know how to make all
...found 1 target...
...can't find 1 target...
grafikdroid:~$ bjam-3.1.14 -f config.jam
--- _-I/usr/include/libpng12
_
don't know how to make all
...found 1 target...
...can't find 1 target...
grafikdroid:~$
====

Do you get correct output if you run the wx-config command
directly?


-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software
.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )