discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Running a separate script from my app using NSBundle, NSTask


From: Csanyi Pal
Subject: Re: Running a separate script from my app using NSBundle, NSTask
Date: Sun, 14 Nov 2010 08:48:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Truls Becken <address@hidden> writes:

> On Sat, Nov 13, 2010 at 20:56, Csanyi Pal wrote:
>
>> So when I compile this application with 'make' I get executables in 
>> the obj/ directory of the application's project directory.
>>
>> But when I do 'sudo make install' I get messages:
>>
>> GNUmakefile:1: /common.make: No such file or directory
>> GNUmakefile:76: /application.make: No such file or directory
>> GNUmakefile:79: /ctool.make: No such file or directory
>> GNUmakefile:81: /Master/nsis.make: No such file or directory
>> make: *** No rule to make target `/Master/nsis.make'.  Stop.
>
> This is because sudo resets your environment variables for security
> reasons. 
>
> Try: sudo -E make install

Grait! It works. :) Thanks!

The C executables: DPResetBit0, etc. are now installed into
/usr/local/bin/ directory and there is a created symlink @LPT_Interface
that point to
/usr/local/lib/GNUstep/Applications/LPT_Interface.app/LPT_Interface
executable of the LPT_Interfce.app that is installed there too. :)

So I can now implement the code to use these installed C executables:
DPResetBit0, etc. as subtasks in my LPT_Interface application.

-- 
Regards, Paul Chany
<http://sourceforge.net/projects/lptinterface/>
<http://savannah.nongnu.org/projects/lpt-interface/>
<http://csanyi-pal.info>




reply via email to

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