Hello again and thanks a lot for the suggestions.
Thing is, I went back to the source version of Julia where Cxx is already 
built and
runs properly, so there wasn't much for me to do, I run in terminal also 
the command of:

"addHeaderDir("/home/kostav/julia/src/")"

Then proceeded again with make install and run the version of julia from 
this folder but
still not being able to use or install Cxx. So, maybe I didn't understand 
properly what you
were suggesting for me to do in the source version of Julia...
Or maybe there is sth else I should try..?

On Friday, July 17, 2015 at 10:31:16 PM UTC+2, Jeff Waller wrote:
>
>
>
> On Friday, July 17, 2015 at 1:44:41 PM UTC-4, Kostas Tavlaridis-Gyparakis 
> wrote:
>>
>> Hello,
>> Just to be sure that I am understanding correctly what your proposal.
>> You suggest I should:
>>
>> 1) Completely uninstall Julia
>>
>  
>
>> 2) Recompile the source code (i.e. run make)
>>
>
> heh no need for 1,2, the current source tree build should be fine.
>  
>
>> 3) Then try using julia from the source code build cxx package
>>
>
> Yea like Isaiah says, originally this built by pointing to the source 
> tree, 
> it's still there.
>  
>
>> 4) Then perform the make install and link the version of julia of the 
>> decaxemical folder with my system
>> And hopefully this will work?
>>
>
> The tricky part.  There's a reasonable change it will just work, and 
> likewise there's a good
> chance it won't and it all revolves around what Cxx expects from Julia and 
> does Julia make install
> copy whatever that is into the install directory.
>  
>
>> I am just asking to be sure before I proceed with any attempt, as the 
>> make command is really time con-
>> suming, so want first to be sure that I am doing what you are actually 
>> suggesting (:
>>
>> On Friday, July 17, 2015 at 6:24:21 PM UTC+2, Jeff Waller wrote:
>>>
>>> Yea I think what you're seeing is that Cxx needs to use the source tree
>>> for example Make.inc only exists in the source tree while embedding 
>>> assumes the installed tree.
>>>
>>> How to reconcile this the best way I'm not sure yet.  I myself found Cxx
>>> interesting enough to try, but the build failed a couple of times and I
>>> haven't had a chance to pick it back up.  But here's what I assume 
>>> could be done.
>>>
>>> Don't attempt to do them at the same time but first Cxx (using source)
>>> and then embed second (using install).
>>>
>>> Build Cxx following the Cxx instructions.
>>>
>>> Then install (this is the tricky part and only something I can guess at
>>> right now).  You might find that a number of things necessary for Cxx
>>> to function are not installed by default, or it will all go smoothly.  I 
>>> think
>>> though that Cxx is going to need clang in some way and that is definitely
>>> NOT installed by default.  I'm not sure how much Julia must/can provide
>>> and how much the Cxx package can/must provide.
>>>
>>> Then build embed against installed stuff.
>>>
>>> Report errors, they may require multiple iterations.
>>>
>>

Reply via email to