Modify

#955 closed defect (notabug)

RHEL 5 ships GLib 2.12.3 which does not provide GRegex

Reported by: robert@… Owned by:
Priority: major Milestone:
Component: Twitter Version: 3.0.5
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro: RHEL 5

Description

RHEL 5 ships GLib 2.12.3 which does not seem to provide GRegex, thus building fails:

twitter.c: In function 'twitter_url_len_diff':
twitter.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
twitter.c:203: error: 'regex' undeclared (first use in this function)
twitter.c:203: error: (Each undeclared identifier is reported only once
twitter.c:203: error: for each function it appears in.)
twitter.c:204: error: 'GMatchInfo' undeclared (first use in this function)
twitter.c:204: error: 'match_info' undeclared (first use in this function)
twitter.c:207: warning: implicit declaration of function 'g_regex_new'
twitter.c:209: warning: implicit declaration of function 'g_regex_match'
twitter.c:210: warning: implicit declaration of function 'g_match_info_matches'
twitter.c:211: warning: implicit declaration of function 'g_match_info_fetch'
twitter.c:211: warning: initialization makes pointer from integer without a cast
twitter.c:213: warning: comparison between pointer and integer
twitter.c:216: warning: implicit declaration of function 'g_match_info_next'
twitter.c:218: warning: implicit declaration of function 'g_match_info_free'
make[2]: Leaving directory `/builddir/build/BUILD/bitlbee-3.0.5/protocols/twitter'
make[2]: *** [twitter.o] Error 1
make[1]: *** [twitter] Error 2
make[1]: *** Waiting for unfinished jobs....

Attachments (0)

Change History (1)

comment:1 Changed at 2012-05-06T15:53:08Z by wilmer

Resolution: notabug
Status: newclosed

You try to compile software from 2012 against a library version released in 2006.

changeset:devel,892 fixes the configure script to give a clearer and more timely error message for this.

Modify Ticket

Action
as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.