Correction: I meant " --prefix=/home/bulut/alps-lib/".

On Thu, Apr 16, 2009 at 11:32 PM, sinan bulut <sbulutw@gmail.com> wrote:
Hi Ryo
What you are doing looks more or less the same as what I do I think.
What i did was:

ls /home/bulut/
alps-libs
alps-apps
cd /home/alps-libs
./configure --prefix=/home/alps-libs/
make
make install
cd /home/alps-apps
./configure --prefix=/home/alps-libs/

and i get the error message here.
As you see, the values of "--prefix" is the *same* for both configure scripts.

Let me know what you think.
I am hesitating to reinstall the libs as you suggested since last time the installation took some 1-2 hours.
However, if you are insisting that i should do what you suggest, I can redo the installation.

Thanks,

Cheers.




On Thu, Apr 16, 2009 at 11:16 PM, sinan bulut <sbulutw@gmail.com> wrote:
Sorry, I just saw your reply.
please disregard my last reply.

 

On Thu, Apr 16, 2009 at 11:14 PM, sinan bulut <sbulutw@gmail.com> wrote:
Hi again,
I put the app files in the same directory as the libs directory, and as i expected it did not work.
I don't think that --prefix=... option is used for both lib and app directories.
This is because it is explicitly indicated in the wiki page that while configuring the apps installation, --prefix=... stands for the location of the alps "libs":
"For easy setup, we have provided a configure script. Just type
$ ./configure --prefix=ALPS_DIR
...ALPS_DIR is the directory where the ALPS *library* is installed"

This makes sense because the script configure for the apps already *knows* its location (which is within the alps apps directory since it belongs there).

Thanks though.
let me know what you think.

Cheers.



On Thu, Apr 16, 2009 at 10:49 PM, sinan bulut <sbulutw@gmail.com> wrote:
Hi Ryo,

So you are suggesting that i should put alps-apps files in the same folder as the alps files.
I will give it a shot and let you know about the result soon.

Thanks,


On Thu, Apr 16, 2009 at 10:35 PM, Ryo IGARASHI <rigarash@hosi.phys.s.u-tokyo.ac.jp> wrote:
Hi,

On Fri, Apr 17, 2009 at 11:22 AM, sinan bulut <sbulutw@gmail.com> wrote:
> i am experiencing an un-expected error during installation of the
> alps-applications.
> When I run the "configure" command, the configuration process stops with the
> error that it can not find the alps library.
> Well, since that I *expilicitly* indicate the location of the alps libs with
> the option "--prefix=/home/bulut/alps", and that I successfully installed
> the library (the installation passed *all* the tests successfully) it
> doesn't really make sense that I am getting the error message below.
>
> Have any of you experienced a similar problem or have any idea on what might
> cause this?
> =============
> bulut@bulut-laptop:~/applications_alps$ ./configure
> --prefix=/home/bulut/alps
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for ALPS Libraries... not found
> configure: error: ALPS Libraries not found.
> =============================

It looks like you don't install ALPS Libraries.

Did you execute
$ make install
when you build ALPS libraries?

If you sure you did, then I want to ask you another question.
What do you specify for the configure script for the ALPS *Libraries* ?
The --prefix=/foo/bar option should be the same for Libraries and Applications.

--
Ryo IGARASHI, Ph.D.
rigarash@hosi.phys.s.u-tokyo.ac.jp