I believe we might have problems with having the same source and build
directory, but separate directories should work.  The latter is the default
way I build and test.

Regards
KK

On 24 October 2010 13:59, Niky Riga <nr...@bbn.com> wrote:

> Not related to the specific configuration, but do you think there is a
> problem in general  having the build directory to be
> completely separate from the src directory?
>
> This is how I have set it up, and up to now I had no problems, but maybe I
> do and I don't know about them:-)
>
> --niky
>
>
> Murphy McCauley wrote:
>
>> I think maybe you created the first one
>> ("./build/src/nox/coreapps/examples/pytutorial.py") by mistake?  The
>> tutorial SHOULD advocate having a build directory inside the nox directory,
>> but SHOULD NOT advocate having a build directory as a sibling of the nox
>> directory.  In your case, it looks like you probably made a nox directory
>> inside of your home directory yourself and then git created another nox
>> directory in there from the repository -- so you should have ~/nox/nox and
>> ~/nox/nox/build, but should not have ~/nox/build.
>>
>> If you ../configure from inside ~/nox/nox/build and things are right in
>> there, I think you're okay (and can just ignore ~/nox/build).
>>
>> -- Murphy
>>
>> On Oct 24, 2010, at 12:30 PM, Aaron Rosen wrote:
>>
>>
>>
>>> Sorry,
>>>
>>> aro...@arosen-desktop:~/nox$ find . | grep pytutorial
>>> ./build/src/nox/coreapps/examples/pytutorial.py <-- Incorrect
>>> ./nox/src/nox/coreapps/examples/pytutorial.py  <-- Correct
>>> ./nox/build/src/nox/coreapps/examples/pytutorial.pyc
>>> ./nox/build/src/nox/coreapps/examples/pytutorial.py <-- correct
>>>
>>> Aaron
>>>
>>>
>>> On Sun, Oct 24, 2010 at 3:27 PM, James "Murphy" McCauley <jam...@nau.edu>
>>> wrote:
>>>
>>>
>>>> You mention "./build/src/nox/coreapps/examples/pytutorial.py" and
>>>> "./nox/build/src/nox/coreapps/examples/pytutorial.py".  I'm having trouble
>>>> making sense of these paths.  Is one of them wrong, or are they not 
>>>> relative
>>>> to the same directory?
>>>>
>>>> -- Murphy
>>>>
>>>> On Oct 24, 2010, at 12:09 PM, Aaron Rosen wrote:
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> I'm trying to add a new module to nox. I've followed the instructions (
>>>>> http://noxrepo.org/noxwiki/index.php/Developing_in_NOX#Building_a_Python_only_component
>>>>> ).
>>>>>
>>>>> I've added pytutoral.py to nox/src/nox/coreapps/examples, and have
>>>>> added the following entry to meta.json,
>>>>>
>>>>>      {
>>>>>            "name": "pytutorial" ,
>>>>>            "dependencies": [
>>>>>                "python"
>>>>>            ],
>>>>>            "python": "nox.coreapps.examples.pytutorial"
>>>>>        }
>>>>>
>>>>> In addition to adding  pytutorial.py to EXTRA_DIST and NOX_RUNTIMEFILES
>>>>> in the Makefile.am.
>>>>>
>>>>> Now after rerunning ./boot.sh, configure, make,
>>>>>
>>>>>
>>>>> The file ./build/src/nox/coreapps/examples/pytutorial.py is really
>>>>> pyswitch.py. Though,   ./nox/build/src/nox/coreapps/examples/pytutorial.py
>>>>> is the correct file
>>>>>
>>>>> Any idea where I went wrong?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> --
>>>>> Aaron O. Rosen
>>>>> Masters Student - Network Communication
>>>>> 306B Fluor Daniel
>>>>> 843.425.9777
>>>>>
>>>>> _______________________________________________
>>>>> nox-dev mailing list
>>>>> nox-dev@noxrepo.org
>>>>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> --
>>> Aaron O. Rosen
>>> Masters Student - Network Communication
>>> 306B Fluor Daniel
>>> 843.425.9777
>>>
>>>
>>
>>
>> _______________________________________________
>> nox-dev mailing list
>> nox-dev@noxrepo.org
>> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>>
>>
>
>
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
>
_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to