[Cook] newbee need some help

Pendergraft, Jerry JPendergraft at sjm.com
Fri Dec 2 16:32:55 EST 2005






>-----Original Message-----
>From: cook-users-bounces+jpendergraft=sjm.com at auug.org.au on behalf of Dietmar Schaefer
>Sent: Thu 01-Dec-05 10:24
>To: cook-users at auug.org.au
>Subject: [Cook] newbee need some help
 
>working trought the tutorial I have a couple of problems:

>/* info about our files */
>manifest =
>    [collect find . -print];

>collecting some files works well.


>/* how to build each program */

>flowmon_src = [match_mask src/FlowMonitor/%.cxx [manifest]];

>does not work !


> Can someone please trell me what's wrong with it ?
I believe you problem is due to how you gather manifest. Using find . -print is going to produce results with leading ./ such as:
./src/FlowMonitor/foo.cxx
Which will not match your pattern. Once you get aegis working you will have a better way to get the manifest. For you experiments I would suggest:
manifest =
   [collect find . -print | sed -e 's:^\./::'];
Or if your files are indeed all under src then try:
manifest =
   [collect find src -print];

Either should produce results that will match your src/FlowMonitor/%.cxx pattern.

> We decided to give aegis a change and therefor cook.
Good choice.

> cook now compiles fine under Tru64 but aegis doesn't.
What are your compile problems?

>Dietmar
>_______________________________________________
>Cook-users mailing list
>Cook-users at auug.org.au
>http://www.auug.org.au/mailman/listinfo/cook-users

Jerry Pendergraft                              voice:651-523-6935
St.Jude Medical                                mobil:651-491-0163
Atrial Fibrillation Division                email:jpendergraft at sjm.com
1350 Energy Lane
St.Paul, MN  55108




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.auug.org.au/pipermail/cook-users/attachments/20051201/8ff5ffbf/attachment.htm>


More information about the Cook-users mailing list