Andreas Poisel | 20 Apr 2009 12:49

A-A-P 1.090 + Python 2.6

Hi!

"as" is a reserved keyword in Python 2.6, which causes a SyntaxError in
Filetype.py line 1417 (CVS-head).  Renaming the local variable called
"as" fixes the problem.

--

-- 
Bye, Andreas

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
Leandro Lucarella | 5 Apr 2009 19:59
Picon
Gravatar

Static and dynamic libraries

There is a very common case for libraries where one would like to build
a library for both dynamic and static linking.

For example:

:lib x : FILES
:dll x : FILES

Then I want the default target to build both libraries, but this:

all: x

Just builds the last one (the :dll in this case). I can do this:

all: libx.a libx.so

(or the OS-independent equivalent using prefixes and suffixes)

I could even add a:

:program x : FILES main.c

For example, and I should update the all target to:

all: libx.a libx.so x

Is there any way to get all the "targets" related to a name?

TIA

(Continue reading)

Leandro Lucarella | 5 Apr 2009 19:54
Picon
Gravatar

Install?

Is there any aid for installing programs/libraries?

I see there are several predefined variables like $DATADIR and $DATAMODE
and a default install target is provided when using the :program, :lib,
etc. commands for example, but I couldn't find any way to specify how to
install extra files (like headers or data files).

Then, if I implement my own install target, I have to start handling
prefixes and suffixes according to the OS (test -> libtest.so vs
test.dll), and I don't see an :install command or something to easily use
the $XXXDIR and $XXXMODE variables.  Should I make all manually using
:copy, :mkdir, :chmod, etc.?

TIA

--

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
Instead of doing a wash, I just keep buying underwear. My goal is to have over
360 pair. That way I only have to do wash once a year.
	-- George Constanza

------------------------------------------------------------------------------
calmar | 8 Jan 2009 17:26
Favicon
Gravatar

broken pipe

hi all,

I have an issue with (32, 'Broken pipe'), at least that is what I see in the log.

the log: http://www.calmar.ws/tmp/log.txt

(quite some files, maybe that's somehow the problem, even so it used to work. I
changed the server so, and needed to upload all again and then this happened)

The recipy is this:

#    the 'gall3' virtual (<- no file) target with no dependencies. It just builds
gall3 {virtual}:      #special target for publishing the gallery
    gallery3 = 
    :tree gallery3 { skipdir = AAPDIR|original_bilder }  # | is or
       gallery3 += $name 
    :attr { check = time } $gallery3
    :attr { signfile = $cwd/AAPDIR/gallery3_sign } $gallery3
    :attr { publish = $(ftp_url)%file% } $gallery3
    :publish $gallery3

the whole would be here:

http://www.calmar.ws/tmp/main.aap.txt

If I can do anything 'test' etc, please let me know. I guess I can't fix that
myself actually just now.

Cheers
marco
(Continue reading)

Alex Yeh | 5 Dec 2007 07:07
Picon
Favicon

config.arg problem with vim.app recipe

Hello, fellow aap users.

I recently tried using aap to install Vim.app on my mac. It worked beautifully, until I tried adding some
additional compilation options (ruby, perl, python, multibit, huge features), at which point I
encountered the following error, which I puzzled over for a couple of hours, but could not figure out:

error:	Error in recipe "/usr/local/aap/vim/vim/src/main.aap" line 375: Error executing commands for
build object: Error in recipe "/usr/local/aap/vim/vim/src/main.aap" line 389: Shell command
returned 1

here’s what I had in my config.arg file:

--with-features=huge
--enable-multibyte
--enable-perlinterp
--enable-pythoninterp
--enable-rubyinterp

I also tried adding a

--with-compiledby='My Name <myself <at> generic_host.org>'

but the angle brackets seemed to cause problems, even if I escaped them with backslashes, so I took the
'compiled-by' argument back out.

Interestingly, when I just used aap to fetch and patch Vim, and then used the standard ./configure && make &&
make install, everything - including the --compiled-by argument - worked perfectly.

stats:
Mac OS 10.3.9 with all the latest updates
(Continue reading)

Pavol Juhas | 6 Aug 2007 18:32
Picon
Favicon

setting check attribute for header files

Hello,

I would like to use the c_md5 check attribute for header and source
files in my work directory, without changing the DEFAULTCHECK value.
The reason is I have a project where aap checks large header files
from $HOME/include directory and it takes a really long time with
DEFAULTCHECK = c_md5.

I tried the :attribute command in main.aap as follows:

----------------------------------------------------------------
:attribute {check = c_md5} hello.h hello.c
:program  hello : hello.c
----------------------------------------------------------------

However, this builds the target from scratch every time, even 
if source files are not changed at all. 
Is this a bug or am I missing something?

Thank you,

Pavol

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
Bram Moolenaar | 7 Jan 2007 20:51
Picon

Re: Patches


Darren -

> I submitted some small patches to the SourceForge project (
> http://sourceforge.net/tracker/?group_id=46523&atid=446420 ) some time
> ago.  Could a maintainer please review and either apply or reject
> them?

I'll look into them.  Don't expect a quick action, I'm quite busy...

- Bram

--

-- 
Engineers are widely recognized as superior marriage material: intelligent,
dependable, employed, honest, and handy around the house.
				(Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Darren Bane | 19 Dec 2006 17:58
Picon

Patches

Hi there,

I submitted some small patches to the SourceForge project (
http://sourceforge.net/tracker/?group_id=46523&atid=446420 ) some time
ago.  Could a maintainer please review and either apply or reject
them?

Thanks.
--

-- 
Darren Bane

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Darren Bane | 23 Nov 2006 17:44
Picon

Is A-A-P still supported?

Hi there,

I'm curious about the answer the the above question.

I don't expect commercial support or all my problems to be fixed for
me, as I am willing to write code.  I'm just worried that nobody else
in the world uses A-A-P, given that "aap --install vim" (presumably
the reference port) fails since SourceForge migrated from CVS to
Subversion.

I'd like to use it as a portable "ports" collection.  I use MacPorts,
but have just got a Linux account and would like to have the same
method of installing software on both.  Writing portfiles shouldn't be
a problem (I've done it for MacPorts).  NetBSD's pkgsrc and openpkg
would probably be my second and third choices for this job,
respectively.

Thanks.
--

-- 
Darren Bane

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Evgeniy Shakhovskey | 6 Oct 2006 10:08
Picon
Favicon

Cannot install agide

Dear all.

I've installed Python 2.3 as recommended.
I've installed aap 1.088.

Then tried to install agide, entering "aap --install agide" and got

Aap: Entering directory `C:\Documents and Settings\evgeniy\aap\packages\agide'
Aap: Attempting download of "http://www.a-a-p.org/package.php?package=agide&osname=mswin"
Aap: Downloaded "http://www.a-a-p.org/package.php?package=agide&osname=mswin" to "boot.aap"
Aap: Entering directory `C:\Documents and Settings\evgeniy\aap\packages\agide\AAPDIR'
Aap: Error in recipe "c:/documents and settings/evgeniy/aap/packages/agide/boot.aap" line 1:
Unrecognized item: "<!DOCTYPE"
Aap: All messages are in the logfile: C:\Documents and Settings\evgeniy\aap\packages\agide\AAPDIR\log

What can be wrong?

I installed wxPython for Python 2.3.
It did not help.

Thank you in advance.
Evgeniy.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
Bram Moolenaar | 20 Jul 2006 09:18
Picon

Mailing lists are back


You might have noticed that the Aap mailing lists were even more quitet
than before.  Somehow all the subscribers had disappeared.  Fortunately,
someone at SourceForge managed to restore the subscribers.

If you sent a message the past month and wondered why nobody responded,
please resend your message now.

- Bram

--

-- 
`The Guide says there is an art to flying,' said Ford, `or at least a
knack. The knack lies in learning how to throw yourself at the ground
and miss.' He smiled weakly.
		-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Gmane