g77 problem with -lstdc++
Paul Smith
phhs80 at gmail.com
Mon Apr 28 00:16:20 UTC 2008
On Mon, Apr 28, 2008 at 12:36 AM, Daniel B. Thurman <dant at cdkkt.com> wrote:
> |> Thanks, Daniel. Have you tried toyprob.c? The C interface is the
> |> problematic one as well as the R one.
>
> Already responded.
>
>
> |
> |In fact, inside the console, going to algencan-2.0-beta and
> |running the command
> |
> |make algencan-c PROBNAME=toyprob
> |
> |produces a binary called algencan in algencan-2.0-beta/bin/c.
> |
> |I would be very grateful to someone that could help me with using
> |Algencan with the R interface.
>
> Ok, looking closer at the top-level Makefile, there is in
> it the HOME variable. I noticed that if my HOME variable
> is NOT the same location as where I am compiling the
> algencan-2.0-beta directory, then the build will fail.
> Poor makefile design, imo.
>
> For example if your home build is at:
> /home/you/algencan-2.0-beta
>
> Then you do:
> make algencan-c HOME="/home/you" PROBNAME="toyprob"
>
> OR
>
> cd /home/you
> cd algencan-2.0-beta
>
> make algencan-c PROBNAME="toyprob"
>
> And it should work.
Thank you very much indeed for your help, Daniel.
Paul
More information about the users
mailing list