Re: [Kea-users] Building 1.2 on Ubuntu and ./configure --enable-generate-parser

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Building 1.2 on Ubuntu and ./configure --enable-generate-parser

Klaus Steden

Hi Thomas,


Hopefully I have all the details you need. I noticed that in Git the missing parser file is there, so this may have been addressed already for future releases.

cheers,
Klaus

On Fri, Jun 23, 2017 at 4:29 AM, Thomas Markwalder <[hidden email]> wrote:
On 6/23/17 7:13 AM, Klaus Steden wrote:

Hi there,

I'm trying to build 1.2 on Ubuntu using the Ubuntu 1.1 DSC and rules file (this is preferred to building from vanilla source, because it provides package separation).

I'm running into an issue with both Trusty and Xenial, specifically this:

Making all in d2
make[5]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make  all-recursive
make[6]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
Making all in .
make[7]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[7]: *** No rule to make target `d2_parser.yy', needed by `d2_parser.cc'.  Stop.
make[7]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu'
dh_auto_build: make -j24 returned exit code 2
make: *** [build] Error 2

The Debian rules file explicitly adds '--enable-generate-parser' in the configure options which seems to be causing this error.

Is it a problem if I disable this option? The Debian patches tweak some of the application paths -- will that cause me grief if I don't enable this option? Unfortunately it doesn't seem immediately obvious in the docs what this actually does.

thanks,
Klaus




_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

Hello Klaus:

Yes, you should be able to omit that option.  That option is only needed if you plan on altering the configuration parsing code.  We pre-generate all the parsing code and include that in the repo as well as the source tar balls.  It is odd that those files are missing. Would be so kind as to open a bug ticket for this at:

http://kea.isc.org/newticket


Thanks,

Thomas Markwalder

ISC Software Engineering


_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users



_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Building 1.2 on Ubuntu and ./configure --enable-generate-parser

Thomas Markwalder
On 6/23/17 8:22 PM, Klaus Steden wrote:

Hi Thomas,


Hopefully I have all the details you need. I noticed that in Git the missing parser file is there, so this may have been addressed already for future releases.

cheers,
Klaus

On Fri, Jun 23, 2017 at 4:29 AM, Thomas Markwalder <[hidden email]> wrote:
On 6/23/17 7:13 AM, Klaus Steden wrote:

Hi there,

I'm trying to build 1.2 on Ubuntu using the Ubuntu 1.1 DSC and rules file (this is preferred to building from vanilla source, because it provides package separation).

I'm running into an issue with both Trusty and Xenial, specifically this:

Making all in d2
make[5]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make  all-recursive
make[6]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
Making all in .
make[7]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[7]: *** No rule to make target `d2_parser.yy', needed by `d2_parser.cc'.  Stop.
make[7]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu'
dh_auto_build: make -j24 returned exit code 2
make: *** [build] Error 2

The Debian rules file explicitly adds '--enable-generate-parser' in the configure options which seems to be causing this error.

Is it a problem if I disable this option? The Debian patches tweak some of the application paths -- will that cause me grief if I don't enable this option? Unfortunately it doesn't seem immediately obvious in the docs what this actually does.

thanks,
Klaus




_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

Hello Klaus:

Yes, you should be able to omit that option.  That option is only needed if you plan on altering the configuration parsing code.  We pre-generate all the parsing code and include that in the repo as well as the source tar balls.  It is odd that those files are missing. Would be so kind as to open a bug ticket for this at:

http://kea.isc.org/newticket


Thanks,

Thomas Markwalder

ISC Software Engineering


_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users


Hi Klaus:

Thanks for doing the bug ticket. The issue is a missing EXTRA_DIST rule in src/bin/d2/Makefile.am to include the .yy file in the distribution tarball. 


Cheers,

Thomas Markwalder

ISC Software Engineering


_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Kea-users] Building 1.2 on Ubuntu and ./configure --enable-generate-parser

Klaus Steden

Awesome, thanks Thomas!

On Sat, Jun 24, 2017 at 8:28 AM, Thomas Markwalder <[hidden email]> wrote:
On 6/23/17 8:22 PM, Klaus Steden wrote:

Hi Thomas,


Hopefully I have all the details you need. I noticed that in Git the missing parser file is there, so this may have been addressed already for future releases.

cheers,
Klaus

On Fri, Jun 23, 2017 at 4:29 AM, Thomas Markwalder <[hidden email]> wrote:
On 6/23/17 7:13 AM, Klaus Steden wrote:

Hi there,

I'm trying to build 1.2 on Ubuntu using the Ubuntu 1.1 DSC and rules file (this is preferred to building from vanilla source, because it provides package separation).

I'm running into an issue with both Trusty and Xenial, specifically this:

Making all in d2
make[5]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make  all-recursive
make[6]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
Making all in .
make[7]: Entering directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[7]: *** No rule to make target `d2_parser.yy', needed by `d2_parser.cc'.  Stop.
make[7]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin/d2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src/bin'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/isc-kea-1.2.0/obj-x86_64-linux-gnu'
dh_auto_build: make -j24 returned exit code 2
make: *** [build] Error 2

The Debian rules file explicitly adds '--enable-generate-parser' in the configure options which seems to be causing this error.

Is it a problem if I disable this option? The Debian patches tweak some of the application paths -- will that cause me grief if I don't enable this option? Unfortunately it doesn't seem immediately obvious in the docs what this actually does.

thanks,
Klaus




_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users

Hello Klaus:

Yes, you should be able to omit that option.  That option is only needed if you plan on altering the configuration parsing code.  We pre-generate all the parsing code and include that in the repo as well as the source tar balls.  It is odd that those files are missing. Would be so kind as to open a bug ticket for this at:

http://kea.isc.org/newticket


Thanks,

Thomas Markwalder

ISC Software Engineering


_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users


Hi Klaus:

Thanks for doing the bug ticket. The issue is a missing EXTRA_DIST rule in src/bin/d2/Makefile.am to include the .yy file in the distribution tarball. 


Cheers,

Thomas Markwalder

ISC Software Engineering



_______________________________________________
Kea-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/kea-users
Loading...