Wireshark mailing list archives

Re: 2.4.2 Stable release doesn't compile in Centos 7.1 64 bits


From: João Valverde <joao.valverde () tecnico ulisboa pt>
Date: Fri, 27 Oct 2017 14:36:25 +0100



On 27-10-2017 13:59, Juan Jose Martin Carrascosa wrote:
Thanks João.

I am removing the line causing the error. Any issue in the main engine by removing that? I just want it for local usage. I don't think that problems with the version will cause big impact right? :-)

I think this will fix the build for you:

diff --git a/epan/Makefile.am b/epan/Makefile.am
index 3b7440923f..84384f81f4 100644
--- a/epan/Makefile.am
+++ b/epan/Makefile.am
@@ -447,7 +447,7 @@ dtd_grammar.c : $(LEMON) $(lemon_srcdir)/lempar.c $(srcdir)/dtd_grammar.lemon $(AM_V_LEMON)$(LEMON) T=$(lemon_srcdir)/lempar.c $(srcdir)/dtd_grammar.lemon

 ws_version_info.c: $(top_srcdir)/ws_version_info.c
-       $(AM_V_LN_S)$(LN_S) $<
+       $(AM_V_LN_S)$(LN_S) $< $(builddir)

 tvbtest.o exntest.o oids_test.o: exceptions.h

diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am
index 42635c97f8..5b2b374a76 100644
--- a/wiretap/Makefile.am
+++ b/wiretap/Makefile.am
@@ -238,7 +238,7 @@ ascend.c: $(srcdir)/ascend.y ascend_scanner_lex.h
        $(AM_V_YACC)$(YACC) -d -p ascend -o ascend.c $(srcdir)/ascend.y

 ws_version_info.c: $(top_srcdir)/ws_version_info.c
-       $(AM_V_LN_S)$(LN_S) $<
+       $(AM_V_LN_S)$(LN_S) $< $(builddir)

 # ABI compliance checker can be obtained from
 # http://ispras.linux-foundation.org/index.php/ABI_compliance_checker

Can you confirm?

Regards,
Juanjo Martin



On Fri, Oct 27, 2017 at 2:36 PM, João Valverde <joao.valverde () tecnico ulisboa pt <mailto:joao.valverde () tecnico ulisboa pt>> wrote:



    On 27-10-2017 13:05, Juan Jose Martin Carrascosa wrote:

        Hi all,

        I am trying to compile the source from the downloads webpage for
        version 2.4.2 and I get when doing make:

        Making all in epan
        make[2]: Entering directory `epan'
            LN_S     ws_version_info.c
        cp: missing destination file operand after ‘../ws_version_info.c’
        Try 'cp --help' for more information.

        Version 2.5.0 build 997-gdafb529 from the automated builds
        works. Is this a known problem?


    No. It's a bug in the build, thanks for reporting, although why
    2.4.2 doesn't detect a working "ln -s" on your system is hard to guess.

    I would like to use a "Stable release" if possible

        that is why I don't want 2.5.0.

        Regards,
        Juanjo Martin


        ___________________________________________________________________________
        Sent via:    Wireshark-dev mailing list
        <wireshark-dev () wireshark org <mailto:wireshark-dev () wireshark org>>
        Archives: https://www.wireshark.org/lists/wireshark-dev
        <https://www.wireshark.org/lists/wireshark-dev>
        Unsubscribe:
        https://www.wireshark.org/mailman/options/wireshark-dev
        <https://www.wireshark.org/mailman/options/wireshark-dev>
                       mailto:wireshark-dev-request () wireshark org
        <mailto:wireshark-dev-request () wireshark org>?subject=unsubscribe

    ___________________________________________________________________________
    Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org
    <mailto:wireshark-dev () wireshark org>>
    Archives: https://www.wireshark.org/lists/wireshark-dev
    <https://www.wireshark.org/lists/wireshark-dev>
    Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
    <https://www.wireshark.org/mailman/options/wireshark-dev>
                 mailto:wireshark-dev-request () wireshark org
    <mailto:wireshark-dev-request () wireshark org>?subject=unsubscribe




--

Juanjo Martin
Senior Application Engineer
Professional Services Group
Office: +34 958 27 88 62
Mobile: +34 656 30 20 56
juanjo () rti com <mailto:juanjo () rti com>
www.rti.com <http://www.rti.com>


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
              mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: