You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Suncatcher16 <su...@outlook.com> on 2017/04/24 12:07:43 UTC

Compilation error on 0.9.12

I do everything according  manual
<https://guacamole.incubator.apache.org/doc/gug/installing-guacamole.html>  
but when I do make I get 

CC       guacenc-jpeg.o
jpeg.c: In function ‘guacenc_jpeg_decoder’:
jpeg.c:94:5: error: implicit declaration of function ‘jpeg_mem_src’
[-Werror=implicit-function-declaration]
     jpeg_mem_src(&cinfo, data, length);
     ^
cc1: all warnings being treated as errors
make[2]: *** [guacenc-jpeg.o] Error 1
make[2]: Leaving directory
`/root/guacamole-server-0.9.12-incubating/src/guacenc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/guacamole-server-0.9.12-incubating'
make: *** [all] Error 2
[root@ip-172-31-21-70 guacamole-server-0.9.12-incubating]#

Why? Configure goes fine.



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Compilation-error-on-0-9-12-tp835.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Setup Docker images 0.9.12

Posted by Mike Jumper <mi...@guac-dev.org>.
On Tue, Apr 25, 2017 at 10:20 PM, Martin Herold <ma...@procal.de> wrote:
> I am using docker containers guacd and guacamole.
>
> All is fine running.
>
> Now I want to setup the docker containers in that way, that they use a host
> - directory to store the users files, that they uploaded.
>
> Which container and which container-folder must I use with the volume
> directive at docker run command?

The directory will need to be within the guacd container, but can be
whatever directory you like as long as the path specified in the
connection parameters matches that directory.

- Mike

Setup Docker images 0.9.12

Posted by Martin Herold <ma...@procal.de>.
I am using docker containers guacd and guacamole.

All is fine running.

Now I want to setup the docker containers in that way, that they use a 
host - directory to store the users files, that they uploaded.

Which container and which container-folder must I use with the volume 
directive at docker run command?

Thanks for help.

Regards

Martin

Re: Compilation error on 0.9.12

Posted by Suncatcher16 <su...@outlook.com>.
Okay, thanks for clarification. So you want to say that with the new version
of libjpeg-turbo-devel I will build the sources successfully? What is the
minimum version required?



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Compilation-error-on-0-9-12-tp835p842.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Compilation error on 0.9.12

Posted by Mike Jumper <mi...@guac-dev.org>.
> Thanks for hint. However, I see that error is present  quite a long time, since February

While the issue is definitely a bug, it's not a high priority relative
to other things being actively worked on, particularly since (1) it
involves compatibility between an optional component and an older
version of a dependency, and (2) there is a known workaround.

The build is absolutely fine on platforms having the newer version of
that dependency.

> Why not to replace libjpeg with the actual version where this function exists.

Well, that's not quite how it works.

The issue is not that the build uses libjpeg / libjpeg-turbo, but that
the version of the library installed in your case lacks the
jpeg_mem_src() function. That function is present in newer releases of
those libraries.

It would be possible to automatically disable the guacenc build if
jpeg_mem_src() is absent (the automatic equivalent to specifying
--disable-guacenc), but the real solution is to provide our own
jpeg_mem_src() for compatibility. Again, though, this isn't really a
high priority issue for the reasons cited above. It will, however, be
fixed eventually.

> If the build is not buildable it should be marked as nightly or some type of.

No, the source is definitely buildable, and the release is a release.
The issue here is not that the build fails on all platforms, but that
a specific component of the build fails on a specific platform. That
issue is a bug, and will be fixed when possible, but that doesn't mean
that everything must be considered a nightly until the codebase is bug
free.

Thanks,

- Mike


On Tue, Apr 25, 2017 at 11:02 AM, Suncatcher16 <su...@outlook.com> wrote:
> Thanks for hint. However, I see that error is present  quite a long time
> <http://apache-guacamole-incubating-users.2363388.n4.nabble.com/build-error-on-ubuntu-with-guacenc-jpeg-decoder-td360.html>
> , since February. Why not to replace libjpeg with the actual version where
> this function exists. It is not cool to release such raw builds which just
> don't compile. If the build is not buildable it should be marked as nightly
> or some type of.
>
>
>
> --
> View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Compilation-error-on-0-9-12-tp835p840.html
> Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Compilation error on 0.9.12

Posted by Suncatcher16 <su...@outlook.com>.
Thanks for hint. However, I see that error is present  quite a long time
<http://apache-guacamole-incubating-users.2363388.n4.nabble.com/build-error-on-ubuntu-with-guacenc-jpeg-decoder-td360.html> 
, since February. Why not to replace libjpeg with the actual version where
this function exists. It is not cool to release such raw builds which just
don't compile. If the build is not buildable it should be marked as nightly
or some type of.



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Compilation-error-on-0-9-12-tp835p840.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.

Re: Compilation error on 0.9.12

Posted by Mike Jumper <mi...@guac-dev.org>.
You are running into this:

https://issues.apache.org/jira/browse/GUACAMOLE-246

The guacenc portion of the build currently depends on a function which is
absent in older versions of libjpeg / libjpeg-turbo.

You can proceed with the rest of the build by passing the --disable-guacenc
option to ./configure.

- Mike


On Apr 25, 2017 9:08 AM, "Suncatcher16" <su...@outlook.com> wrote:

> The same error with 0.9.11 version. What's is wrong with sources? Does it
> related to my compiler?
> I have gcc Red Hat 4.8.3-9. Can anybody from devs comment this?
>
>
>
> --
> View this message in context: http://apache-guacamole-
> incubating-users.2363388.n4.nabble.com/Compilation-error-
> on-0-9-12-tp835p838.html
> Sent from the Apache Guacamole (incubating) - Users mailing list archive
> at Nabble.com.
>

Re: Compilation error on 0.9.12

Posted by Suncatcher16 <su...@outlook.com>.
The same error with 0.9.11 version. What's is wrong with sources? Does it
related to my compiler?
I have gcc Red Hat 4.8.3-9. Can anybody from devs comment this?



--
View this message in context: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/Compilation-error-on-0-9-12-tp835p838.html
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.