Some more Help needed for a beginner

Anjan Santra <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
Hi Isak,
Since I found so many ppl on the net who have fallen in love with 
autopackage, I guess it is very easy to do a package.
So definitely I am doing something which is more than a mistake, maybe a 
blunder!

I will note down the points/steps I am doing...

1. I created a directory "HelloWorld" in my home (where bashrc is). /I 
do not have a /usr/bin permission/.
2. Inside this directory I have 2 sub-dirs. viz. src\ and autopackage\
3. Inside src is the 'helloWorld.c' file.
4. From 'HelloWorld' dir I do a "/makepackage -mkspec 
 >autopackage/default.apspec"
/5. I have a Makefile in 'HelloWorld" with the lines you had provided 
earlier.
6. I have modified the apspec file as per ur suggestion.... but since I 
do not have root permission I (later) modified
        PREFIX=/usr
        to
        PREFIX=/home/anjan/helloWorld
*/Remaining portion remains absolutely unchanged./*

7. Now in 'HelloWorld' when I do a makepackage, it simply executes (with 
warning "can't remove /tmp/atpkgXYZ").
Then nothing happens.

Where do I look for the thing *hello.package*. What step am I missing. 
Is there some more intermediatory steps I am missing?

Thanks and regards,
Anjan

Isak Savo wrote:
> 2008/1/23, Anjan Santra <[email protected]>:
>   
>>  Hi Isak,
>>  Thanks for your reply. I made the changes as suggested by you.
>>
>>  I also did "export
>> build_root=/home/anjan/helloWorld_INSTALL" (its same for
>> DESTDIR)
>>     
>
> Don't do that! :-)
>
>   
>>  I want the package to go there.
>>  If I run make and make-install, it works fine, but if I run "makepackage"
>> the folder pointed to by build_root is simply removed.
>>     
>
> build_root is an autopackage variable, makepackage will set it and
> your [prepare] section is supposed to put all the files to include in
> the package into that folder.
>
> You should NOT set $build_root to anything. Just make sure that
> [prepare] puts files into the $build_root directory (which it does, if
> you used my Makefile + call 'make install DESTDIR=$build_root' from
> the .apspec).
>
> -Isak
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
> For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
>
>   
SOFTJIN BUSINESS DISCLAIMER
---------------------------
This e-mail message and any files transmitted with it are intended
solely for the use of individual or entity to which they are addressed.
It may contain confidential, proprietary or legally privileged
information. If you are not the intended recipient please be advised
that you have received this message in error and any use is strictly
prohibited. Please immediately delete it and all copies from your
system, destroy any hard copies of it and notify the sender by return
mail. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.