Compiling Enblend (fails on my Debian machine)

View: New views
7 Messages — Rating Filter:   Alert me  

Compiling Enblend (fails on my Debian machine)

by Wirz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I just tried to compile the current Enblend trunk following the README
(make -f Makefile.scm; ./configure; make; sudo make install).  The
second "make" does something for a while and finally terminates with

make[3]: Leaving directory `/home/lukas/Desktop/huginbuild/enblend/src'
make[2]: Leaving directory `/home/lukas/Desktop/huginbuild/enblend/src'
Making all in doc
make[2]: Entering directory `/home/lukas/Desktop/huginbuild/enblend/doc'
Updating ./versenblend.texi
make[2]: *** No rule to make target `/../src/enblend.cc', needed by
`varsenblend.texi'.  Stop.
make[2]: Leaving directory `/home/lukas/Desktop/huginbuild/enblend/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lukas/Desktop/huginbuild/enblend'
make: *** [all] Error 2

I'm running a DebianLenny, on a five year old Laptop.

I tried to find out when this error was introduced (as compiling has
worked for me before) ... 535 and 528 yield the same error, 512, 520 and
523 all work.

Is this problem known? Is there any workaround or even fix in the
pipeline? I'm sorry I can't track this problem down any further (I can't
do any programming) but I'll happily run more test if necessary.

cheers, lukas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Compiling Enblend (fails on my Debian machine)

by Seb Perez-D-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Oct 20, 2009 at 06:30, Wirz <spam@...> wrote:
> make[2]: *** No rule to make target `/../src/enblend.cc', needed by
> `varsenblend.texi'.  Stop.

For what is worth, I get the same error in Kubuntu 9.04.

By the way, when I do "hg update" I get a screen with three columns
showing three versions of the same file. What should I do there?

Cheers,

Seb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Compiling Enblend (fails on my Debian machine)

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 20, 12:43 am, Seb Perez-D <sbp...@...> wrote:
> For what is worth, I get the same error in Kubuntu 9.04.

I had the same error and fixed it with a couple of new dependencies.
check the list at http://wiki.panotools.org/Hugin_Compiling_Ubuntu#Building_Enblend
if it does not work yet, start from scratch:

cd enblend
rm -fr *
hg update --clean

HTH
Yuv
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Compiling Enblend (fails on my Debian machine)

by Seb Perez-D :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, Oct 20, 2009 at 07:10, Yuv <google@...> wrote:
>
> I had the same error and fixed it with a couple of new dependencies.
> check the list at http://wiki.panotools.org/Hugin_Compiling_Ubuntu#Building_Enblend
> if it does not work yet, start from scratch:
>
> cd enblend
> rm -fr *
> hg update --clean

I followed exactly the instructions in the wiki, starting from
scratch. Only texinfo was missing on my system. But the compilation
still fails at the end:

Updating ./versenblend.texi
make[2]: *** No rule to make target `/../src/enblend.cc', needed by
`varsenblend.texi'.  Stop.
make[2]: Leaving directory `/home/seb/downloads/enblend/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/seb/downloads/enblend'
make: *** [all] Error 2

The problem seems to be the in Makefile in the doc folder, which contains:
  varsenblend.texi: $(VPATH)/../src/enblend.cc \
but this $VPATH may not be defined.

If I remove all references to $(VPATH) then everything compiles without error.

Cheers,

Seb

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Compiling Enblend (fails on my Debian machine)

by Wirz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Seb,

> I followed exactly the instructions in the wiki, starting from
> scratch. Only texinfo was missing on my system. But the compilation
> still fails at the end:
>
> Updating ./versenblend.texi
> make[2]: *** No rule to make target `/../src/enblend.cc', needed by
> `varsenblend.texi'.  Stop.
> make[2]: Leaving directory `/home/seb/downloads/enblend/doc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/seb/downloads/enblend'
> make: *** [all] Error 2

I get the same result (I had missed texinfo and two other dependencies,
but adding them doesn't help).

> The problem seems to be the in Makefile in the doc folder, which contains:
>   varsenblend.texi: $(VPATH)/../src/enblend.cc \
> but this $VPATH may not be defined.

It definitely is: 525 breaks, 523 doesn't.

> If I remove all references to $(VPATH) then everything compiles without error.

Great, thanks a lot! Now it works for me as well.

Cheers, lukas


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Compiling Enblend (fails on my Debian machine)

by cspiel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Seb -

On Oct 20, 3:36 pm, Seb Perez-D <sbprzd+...@...> wrote:
> The problem seems to be the in Makefile in the doc folder, which contains:
>   varsenblend.texi: $(VPATH)/../src/enblend.cc \
> but this $VPATH may not be defined.
>
> If I remove all references to $(VPATH) then everything compiles without error.

        The compilation works for so-called
vpath-builds, i.e., if your cwd is different
from configure's directory.

Vpath-builds are cleaner, for you can create a
build directory, build and install, and finally
blow away the build dir without touching the
source tree:
        cd my/path/to/enblend
        mkdir BUILD
        cd BUILD
        ../configure --all --my --configuration=options --go-here
        make I_ALSO_ADD=EXTRA_MAKE_FLAGS
        make install
        cd ..
        rm -rf BUILD

Anyhow, non-vpath build ought to work, too!
Therefore, I have just pushed rev04b8c325fd9c
        http://enblend.hg.sourceforge.net/hgweb/enblend/enblend/rev/04b8c325fd9c
which should fix your problem.  Please let me
know, if you still encounter difficulties.

Thanks for your patience,
        Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---


Re: Compiling Enblend (fails on my Debian machine)

by Yuval Levy-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


cspiel wrote:
> Vpath-builds are cleaner

updated wiki page (Ubuntu) accordingly. it's always good to learn
something new from the pros :-)

Yuv


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@...
To unsubscribe from this group, send email to hugin-ptx+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---