discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Generating nsis script - without success


From: Csanyi Pal
Subject: Re: Generating nsis script - without success
Date: Sun, 26 Sep 2010 19:37:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Adam Fedor <fedor@qwestoffice.net> writes:

> On Sep 26, 2010, at 10:54 AM, Csanyi Pal wrote:
>
>> but when I try to run:
>>  2.2. Create the nsis script: make nsis
>> 
>> I get on the Shell command line following:
>> ... ...
>> and here it take forever, so never ended, I never get the .nsi file. :(

> Yes, this is nothing to do with nsis.  At this point it's just running
> some shell commands to generate the file, and perhaps it's getting
> stuck somewhere.  Try 
>
> make messages=yes nsis
>
> and let me know what it says, or you can send an example program that
> causes the problem and I can see what is happening. 

I attached the messages  here:
This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
if [ -d /home/Pal/LPT_Interface/obj/package ]; then \
          rm -rf /home/Pal/LPT_Interface/obj/package; fi;
make DESTDIR=/home/Pal/LPT_Interface/obj/package nsilist=yes install
make[1]: Entering directory `/home/Pal/LPT_Interface'
Making install for app LPT_Interface...
/GNUstep/System/Library/Makefiles/mkinstalldirs 
/home/Pal/LPT_Interface/obj/package//GNUstep/Local/Applications
rm -rf 
/home/Pal/LPT_Interface/obj/package//GNUstep/Local/Applications/LPT_Interface.app;
 \
        (cd ./.; \
            tar chfX - /GNUstep/System/Library/Makefiles/tar-exclude-list 
LPT_Interface.app) \
         | (cd /home/Pal/LPT_Interface/obj/package//GNUstep/Local/Applications; 
tar xf -)
/GNUstep/System/Library/Makefiles/mkinstalldirs 
/home/Pal/LPT_Interface/obj/package//GNUstep/Local/Tools/.
cat /GNUstep/System/Library/Makefiles/app-wrapper.template \
                         | sed -e "s@GNUSTEP_INSTANCE@LPT_Interface@" > 
/home/Pal/LPT_Interface/obj/package//GNUstep/Local/Tools/./LPT_Interface; \
                       chmod a+x 
/home/Pal/LPT_Interface/obj/package//GNUstep/Local/Tools/./LPT_Interface
make[1]: Leaving directory `/home/Pal/LPT_Interface'
rm -f ./obj/file-list
rm -f /home/Pal/LPT_Interface/obj/package/delete-list
rm -f /home/Pal/LPT_Interface/obj/package/rmdir-list
cdir="nosuchdirectory";                                 \
        for file in `tar Pcf - ./obj/package//GNUstep/Local/ | tar t`; do       
        \
          wfile=`echo $file | sed "s,./obj/package//GNUstep/Local/,," | tr '/' 
'\'`;    \
          wodir=`echo ./obj/package//GNUstep/Local/ | tr '/' '\'`;              
                \
          slashsuffix=`basename ${file}yes`;                                    
\
          if [ "$slashsuffix" = yes ]; then                                     
\
            newdir=`dirname $file`/`basename $file`;                            
\
          else                                                                  
\
            newdir=`dirname $file`;                                             
\
          fi;                                                                   
\
          if [ "$file" = "./obj/package//GNUstep/Local//" ]; then               
                \
            :;                                                                  
\
          elif [ -d "$file" ]; then                                             
\
            cdir=$newdir;                                                       
\
            echo "  RMDir \"\$DOMDIR\\$wfile\"" >>  
/home/Pal/LPT_Interface/obj/package/rmdir-list;     \
            echo "  SetOutPath \"\$DOMDIR\\$wfile\"" >> ./obj/file-list;        
\
          elif [ $cdir != $newdir ]; then                                       
\
            cdir=$newdir;                                                       
\
            wdir=`dirname $file`;                                               
\
            wdir=`echo $wdir | sed "s,./obj/package//GNUstep/Local/,," | tr '/' 
'\'`;           \
            echo "  SetOutPath \"\$DOMDIR\\$wdir\"" >> ./obj/file-list; \
            echo "  File \"$wodir$wfile\"" >> ./obj/file-list;          \
            echo "  Delete \"\$DOMDIR\\$wfile\"" >> 
/home/Pal/LPT_Interface/obj/package/delete-list;    \
          else                                                                  
\
            echo "  Delete \"\$DOMDIR\\$wfile\"" >> 
/home/Pal/LPT_Interface/obj/package/delete-list;    \
            echo "  File \"$wodir$wfile\"" >> ./obj/file-list;          \
          fi;                                                                   
\
        done                                                    
echo "Generating the nsi script..."
Generating the nsi script...
rm -f .nsi
rm -f /home/Pal/LPT_Interface/obj/package/rmdir-list.reverse
sed '1!G;h;$!d' /home/Pal/LPT_Interface/obj/package/rmdir-list > \
            /home/Pal/LPT_Interface/obj/package/rmdir-list.reverse
mv  /home/Pal/LPT_Interface/obj/package/rmdir-list.reverse  \
          /home/Pal/LPT_Interface/obj/package/rmdir-list
if [ -f unnamed-package.nsi.in ]; then          \
          nsi_infile=unnamed-package.nsi.in;                                    
\
          else                                                  \
          nsi_infile=; fi;                      \
          sed -e :t                                             \
            -e "s,@gs_domain@,Local,;t t"               \
            -e "s,@gs_name@,unnamed-package,;t t"               \
            -e "s,@gs_version@,0.0.1,;t t"              \
            -e "/@file_list@/ r ./obj/file-list"                \
            -e "/@delete_list@/ r 
/home/Pal/LPT_Interface/obj/package/delete-list"      \
            -e "/@rmdir_list@/ r 
/home/Pal/LPT_Interface/obj/package/rmdir-list"                \
                $nsi_infile > .nsi                              \
        
The sources can be download using the cvs command:
cvs 
-d:pserver:anonymous@lptinterface.cvs.sourceforge.net:/cvsroot/lptinterface
login 

I hope this helps to figure out what went wrong.

-- 
Regards, Paul Chany
<http://www.debian.org> <http://wiki.debian.org/DebianEdu>
<http://sourceforge.net/projects/lptinterface/>
<http://csanyi-pal.info>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]