LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2011, 10:38 AM   #1
chrisportela
Member
 
Registered: Feb 2010
Location: Console.WriteLine("My location is {0}",Location);
Distribution: Arch Linux 64bit --Current
Posts: 33

Rep: Reputation: 1
Question Can't compile libopensync-plugin-python?! What is this error?


When I try to 'make' the libopensync-plugin-python-0.22 source I downloaded I get this error which I don't understand (pythonmakerror.txt)
Code:
make  all-am
make[1]: Entering directory `/home/chrisportela/Downloads/libopensync-plugin-python-0.22'
if /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/python2.6 -DOPENSYNC_PYTHONPLG_DIR=\"/usr/local/lib/opensync/python-plugins\"  -Wall -Werror -I/usr/local/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -MT python_module_la-python_module.lo -MD -MP -MF ".deps/python_module_la-python_module.Tpo" -c -o python_module_la-python_module.lo `test -f 'src/python_module.c' || echo './'`src/python_module.c; \
	then mv -f ".deps/python_module_la-python_module.Tpo" ".deps/python_module_la-python_module.Plo"; else rm -f ".deps/python_module_la-python_module.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -I/usr/include/python2.6 -DOPENSYNC_PYTHONPLG_DIR=\"/usr/local/lib/opensync/python-plugins\" -Wall -Werror -I/usr/local/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT python_module_la-python_module.lo -MD -MP -MF .deps/python_module_la-python_module.Tpo -c src/python_module.c  -fPIC -DPIC -o .libs/python_module_la-python_module.o
make[1]: Leaving directory `/home/chrisportela/Downloads/libopensync-plugin-python-0.22'
src/python_module.c:23: fatal error: Python.h: No such file or directory
compilation terminated.
make[1]: *** [python_module_la-python_module.lo] Error 1
make: *** [all] Error 2
I think that is causing this error when I try to compile the libopensync-plugin-synce-0.22 source and it complains (error.txt)
Code:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 
configure: error: C compiler cannot create executables
See `config.log' for more details.
 
Old 01-30-2011, 11:13 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Which version of Ubuntu ?

Your profile says Slackware, but then gcc will work, and Python.h won't be missing.

Ubuntu : sudo apt-get install g++ python-dev

( g++ takes care that libraries necessary for gcc are installed.)

..
 
Old 01-31-2011, 04:43 PM   #3
chrisportela
Member
 
Registered: Feb 2010
Location: Console.WriteLine("My location is {0}",Location);
Distribution: Arch Linux 64bit --Current
Posts: 33

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by knudfl View Post
Which version of Ubuntu ?

Your profile says Slackware, but then gcc will work, and Python.h won't be missing.

Ubuntu : sudo apt-get install g++ python-dev

( g++ takes care that libraries necessary for gcc are installed.)

..
Right I'm sorry, I thought I updated that. I am using Ubuntu 10.10 64bit with all the updates(if that makes a difference with this although I'm pretty sure that wouldn't but I hear those updates break stuff sometimes).
That solved the problem installing the python plugin but not when installing the 2nd plugin and it gives the same error. What does that mean? Is it a 32 vs. 64 bit issue? I already have all the ia32 libs installed for wine to run and some other stuff. So wouldn't that solve the issue already?
 
Old 01-31-2011, 04:48 PM   #4
chrisportela
Member
 
Registered: Feb 2010
Location: Console.WriteLine("My location is {0}",Location);
Distribution: Arch Linux 64bit --Current
Posts: 33

Original Poster
Rep: Reputation: 1
Would uploading the config.log file be of use in figuring this out or that does give away a lot of information to put on the internet? It doesn't look like it's revealing too much other than just the config for what this app needs but I could have missed something. Anyway should I upload it to help figure out the problem?
 
Old 01-31-2011, 05:54 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Quote:
.. the 2nd plugin ..
May be just tell the name of the mlt package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
k3b plugin compile error Kropotkin Linux - Software 6 05-28-2010 07:25 AM
The error of compile gst-plugin-base-0.10.22 jeazh Linux - Newbie 3 05-13-2009 02:11 PM
LXer: Creating a Fancy 3D-Effect GIMP Plugin in Python LXer Syndicated Linux News 0 04-24-2009 01:20 AM
xmms plugin compile error archish Linux - Software 0 12-27-2003 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration