PDA

View Full Version : Trouble building hexchat on Fedora 17


AaronJAnderson
20th August 2012, 04:35 PM
Following instructions at the bottom of this page:
http://www.hexchat.org/developers/building


I get through the autogen and configure steps. I get hung up on the "make" step:

Output:


/usr/bin/ld: sexy-spell-entry.o: undefined reference to symbol 'g_module_open'
/usr/bin/ld: note: 'g_module_open' is defined in DSO /lib64/libgmodule-2.0.so.0 so try adding it to the linker command line
/lib64/libgmodule-2.0.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [hexchat] Error 1
make[3]: Leaving directory `/home/aaron/hexchat/src/fe-gtk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/aaron/hexchat/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/aaron/hexchat'
make: *** [all] Error 2


Can anyone provide some pointers?

---------- Post added at 07:35 AM ---------- Previous post was at 06:31 AM ----------

I was able to get around this with:

LDFLAGS='-lgmodule-2.0' ./configure

Yellowman
20th August 2012, 04:51 PM
Try my fork, download zip

https://github.com/leigh123linux/hexchat/

I also did a pull request to upstream

https://github.com/hexchat/hexchat/pull/56

AaronJAnderson
20th August 2012, 06:28 PM

Try my fork, download zip
https://github.com/leigh123linux/hexchat/



Thanks friend. I was able to get this going pretty quickly.


Is there a way to package what I've now compiled into an RPM to use on other machines?

Yellowman
20th August 2012, 07:54 PM
Thanks friend. I was able to get this going pretty quickly.


Is there a way to package what I've now compiled into an RPM to use on other machines?

64bit binary rpm

https://dl.dropbox.com/u/6907158/hexchat/hexchat-2.9.1-0.1.gitcf65f0e.fc17.x86_64.rpm

srpm source

https://dl.dropbox.com/u/6907158/hexchat/hexchat-2.9.1-0.1.gitcf65f0e.fc17.src.rpm

AaronJAnderson
20th August 2012, 07:58 PM
I appreciate the links but wanted to do some learning and do it myself ;)

Yellowman
20th August 2012, 09:37 PM
I appreciate the links but wanted to do some learning and do it myself ;)


Ok

http://fedoraproject.org/wiki/How_to_create_an_RPM_package

And an easy way to create a skeleton spec file, then fill out the missing bits

yum install rpmdevtools

rpmdev-newspec hexchat

If you get stuck you could refer to the attached spec