You are not logged in.
Pages: 1
I managed to install Kdenlive from the AUR using Yaourt but Synfigstudio ends with...
time.cpp:107: error: 'sscanf' was not declared in this scope
make[3]: *** [libsynfig_la-time.lo] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09/src/synfig'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build synfig package.
I have no clue what to try now and was hoping for some help/suggestions.
Thanks
Edited for typo
Last edited by addr (2009-05-25 19:15:34)
x86_64 Arch Openbox, Debian PEKwm
Offline
Probably a problem with the new gcc : http://gcc.gnu.org/gcc-4.4/porting_to.html
Perhaps you need to add '#include <cstdio>' to the appropriate header files.
Offline
I am sorry, I have no idea how to do what you suggest.
Could you be more specific, please?
Last edited by addr (2009-05-25 22:25:58)
x86_64 Arch Openbox, Debian PEKwm
Offline
I'm not 100% sure, but you could try adding '#include <cstdio>' to the beginning of time.cpp.
Offline
I'm not 100% sure, but you could try adding '#include <cstdio>' to the beginning of time.cpp.
Yes, this is likely to fix it, due to GCC 4.4's new semantics regarding include files.
Offline
And if you run into similar problems w/ other files, treat them the same way.
Offline
Thankyou but could you tell me how to do this...
#include <cstdio> to the beginning of time.cpp.
x86_64 Arch Openbox, Debian PEKwm
Offline
You can open the file 'time.cpp' and add a line '#include <cstdio>' at the top.
Offline
No file 'time.cpp' on my system.
x86_64 Arch Openbox, Debian PEKwm
Offline
No file 'time.cpp' on my system.
sure there is....
I managed to install Kdenlive from the AUR using Yaourt but Synfigstudio ends with...
time.cpp:107: error: 'sscanf' was not declared in this scope
Offline
To be a little more specific:
make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09/src'
That's most likely where you'll find it.
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
Well I found the file and added the include but the /tmp just gets rewritten.
Is there somewhere permanent I should be putting the include file?
Sorry to be so ignorant here.
x86_64 Arch Openbox, Debian PEKwm
Offline
You will need to patch the source code before building it, which I expect you won't be able to do (no offense intended). Alternatively, you could try building the app with gcc 4.3, gcc 3.4, or gcc 3.3, all of which are available in either the AUR or the extra repo.
btw, I've changed the thread topic to be more descriptive of the actual problem.
Offline
No idea how to do this with yaourt but why not just:
download the tar.gz from AUR
download and extract source with makepkg -o
edit time.cpp to correct headers
use makepkg -e to build without overwriting the modified file
use pacman -U to install the resulting pkg.tar.gz
Offline
No idea how to do this with yaourt but why not just:
download the tar.gz from AUR
download and extract source with makepkg -o
edit time.cpp to correct headers
use makepkg -e to build without overwriting the modified file
use pacman -U to install the resulting pkg.tar.gz
You forgot the important "submit patch upstream" step.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Garns wrote:No idea how to do this with yaourt but why not just:
download the tar.gz from AUR
download and extract source with makepkg -o
edit time.cpp to correct headers
use makepkg -e to build without overwriting the modified file
use pacman -U to install the resulting pkg.tar.gz
You forgot the important "submit patch upstream" step.
guilty as charged , however I only skipped it because tomk already excluded patching.
Offline
Pages: 1