You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2010/10/29 07:51:19 UTC

[jira] Created: (THRIFT-978) syntax error near unexpected token GLIB

syntax error near unexpected token GLIB
---------------------------------------

                 Key: THRIFT-978
                 URL: https://issues.apache.org/jira/browse/THRIFT-978
             Project: Thrift
          Issue Type: Bug
          Components: C glib - Library
         Environment: Ubuntu 8.10
            Reporter: Roger Meier


Thrift does not build on a server with limited libraries installed, see:
https://hudson.apache.org/hudson/job/Thrift-trunk/4/console


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-978) better error message when pkg-config is missing

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier updated THRIFT-978:
-------------------------------

    Attachment: THRIFT-978_configure.ac_check_for_pkg-config.patch

patch to check if pkg-config is available

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>         Attachments: THRIFT-978_configure.ac_check_for_pkg-config.patch
>
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (THRIFT-978) better error message when pkg-config is missing

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier reassigned THRIFT-978:
----------------------------------

    Assignee: Roger Meier

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>         Attachments: THRIFT-978_configure.ac_check_for_pkg-config.patch
>
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-978) better error message when pkg-config is missing

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier updated THRIFT-978:
-------------------------------

    Attachment: THRIFT-978_configure.ac_check_for_pkg-config.v2.patch

[^THRIFT-978_configure.ac_check_for_pkg-config.v2.patch] adds pkg.m4 and required check's to c_glib and csharp section within configure.ac 

I think it makes sense to add pkg.m4 to aclocal folder, other people had similar issues, see http://wiki.apache.org/thrift/ThriftInstallationWin32




> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>         Attachments: THRIFT-978_configure.ac_check_for_pkg-config.patch, THRIFT-978_configure.ac_check_for_pkg-config.v2.patch
>
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-978) better error message when pkg-config is missing

Posted by "David Reiss (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927564#action_12927564 ] 

David Reiss commented on THRIFT-978:
------------------------------------

I don't think this is the right change.  This problem only occurs when the person who ran bootstrap.sh didn't have pkg.m4.  The user running configure doesn't need pkg-config to build the parts of Thrift that don't depend on it.

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>         Attachments: THRIFT-978_configure.ac_check_for_pkg-config.patch
>
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (THRIFT-978) better error message when pkg-config is missing

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier closed THRIFT-978.
------------------------------

    Resolution: Not A Problem

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>            Assignee: Roger Meier
>         Attachments: THRIFT-978_configure.ac_check_for_pkg-config.patch, THRIFT-978_configure.ac_check_for_pkg-config.v2.patch
>
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Updated: (THRIFT-978) better error message when pkg-config is missing

Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Meier updated THRIFT-978:
-------------------------------

    Component/s:     (was: C glib - Library)
                 Build Process
    Description: 
{code}
configure: line 16066: syntax error near unexpected token `GLIB,'
configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
[WARNINGS] Skipping publisher since build result is FAILURE
{code}



  was:
Thrift does not build on a server with limited libraries installed, see:
https://hudson.apache.org/hudson/job/Thrift-trunk/4/console


     Issue Type: Improvement  (was: Bug)
        Summary: better error message when pkg-config is missing  (was: syntax error near unexpected token GLIB)

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-978) better error message when pkg-config is missing

Posted by "Christian Lavoie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926630#action_12926630 ] 

Christian Lavoie commented on THRIFT-978:
-----------------------------------------

Mono.

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (THRIFT-978) better error message when pkg-config is missing

Posted by "Michael Lum (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926627#action_12926627 ] 

Michael Lum commented on THRIFT-978:
------------------------------------

out of curisity, do any other thrift bindings besides c_glib use pkg-config?

> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (THRIFT-978) better error message when pkg-config is missing

Posted by "Michael Lum (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926627#action_12926627 ] 

Michael Lum edited comment on THRIFT-978 at 10/30/10 2:49 PM:
--------------------------------------------------------------

out of curiosity, do any other thrift bindings besides c_glib use pkg-config?

      was (Author: mlum):
    out of curisity, do any other thrift bindings besides c_glib use pkg-config?
  
> better error message when pkg-config is missing
> -----------------------------------------------
>
>                 Key: THRIFT-978
>                 URL: https://issues.apache.org/jira/browse/THRIFT-978
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Build Process
>         Environment: Ubuntu 8.10
>            Reporter: Roger Meier
>
> {code}
> configure: line 16066: syntax error near unexpected token `GLIB,'
> configure: line 16066: `  PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0, have_glib2=yes, have_glib2=no)'
> [WARNINGS] Skipping publisher since build result is FAILURE
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.