[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 <truls.becken@gmail.com> 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>
- Re: Running a separate script from my app using NSBundle, NSTask, Fred Kiefer, 2010/11/01
- Re: Running a separate script from my app using NSBundle, NSTask, Csanyi Pal, 2010/11/02
- Re: Running a separate script from my app using NSBundle, NSTask, Fred Kiefer, 2010/11/02
- Re: Running a separate script from my app using NSBundle, NSTask, SPUeNTRUP - Kai Henningsen, 2010/11/03
- Re: Running a separate script from my app using NSBundle, NSTask, Csanyi Pal, 2010/11/12
- Re: Running a separate script from my app using NSBundle, NSTask, Richard Frith-Macdonald, 2010/11/12
- Re: Running a separate script from my app using NSBundle, NSTask, Csanyi Pal, 2010/11/13
- Re: Running a separate script from my app using NSBundle, NSTask, Truls Becken, 2010/11/13
- Re: Running a separate script from my app using NSBundle, NSTask,
Csanyi Pal <=
- Compiling app on MS Windows failed, Csanyi Pal, 2010/11/14
- Re: Compiling app on MS Windows failed, Fred Kiefer, 2010/11/14