www.centos.org Forum Index CentOS 6 - Software Support [SOLVED] simple-scan on CENTOS 6
|
Bottom Previous Topic Next Topic |
|
| |
|
|
|---|
| Poster | Thread |
|---|
|
[SOLVED] simple-scan on CENTOS 6 | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
Hi, i cannot install very small and simple application for scanning under CENTOS 6, simple-scan. website: http://pkgs.org/download/simple-scan Could someone tell my what libaries i have to install to be able to install simple-scan? Quote: # rpm -i simple-scan-3.1.5-1.fc16.x86_64.rpm |
||
Posted on: 2011/9/27 13:17
|
|||
|
Re: simple-scan on CENTOS 6 | #3 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
I see, could You try to rebuild it for me? because I really do not know how
http://download.fedora.redhat.com/pub/fedora/linux/development/rawhide/source/SRPMS/simple-scan-3.1.91-1.fc17.src.rpm this source rpm will be good? if not You can download other src rpms from here http://pkgs.org/download/simple-scan thanks in advance |
||
Posted on: 2011/9/27 14:14
|
|||
|
Re: simple-scan on CENTOS 6 | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/9/3
From California, US
Posts: 6921
|
I would try the srpm from Fedora 15 first. It is closer to CentOS 6, so you have a better chance of successful build. Then try a command similar to:
Run the command as 'you', not 'root'. It probably complains about some packages required/missing. Install them by using yum (as root) and try the same rpmbuild command again (as you). [EDIT] You need the rpm-build package to run 'rpmbuild' |
||
Posted on: 2011/9/27 15:29
|
|||
|
Re: simple-scan on CENTOS 6 | #5 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2009/9/24
From Brighton, UK
Posts: 6361
|
There is a wiki page about How to rebuild packages that might be helpful
|
||
|
_________________
Linux/VoIP Systems Administrator |
|||
Posted on: 2011/9/27 16:06
|
|||
|
Re: simple-scan on CENTOS 6 | #6 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
Quote:
I did this and still some errors during rpmbuild :( could You try? http://download.fedora.redhat.com/pub/fedora/linux/releases/15/Everything/source/SRPMS/simple-scan-2.32.0.1-2.fc15.src.rpm |
||
Posted on: 2011/9/27 17:12
|
|||
|
Re: simple-scan on CENTOS 6 | #7 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/9/3
From California, US
Posts: 6921
|
Quote:
It builds fine on my system (EL6.1). Post the errors you get so that we can help you better. |
||
Posted on: 2011/9/27 17:20
|
|||
|
Re: simple-scan on CENTOS 6 | #8 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2011/7/6
From
Posts: 43
|
ok, I'll say it. You're trying to rebuild a program with gtk3 dependencies. Good luck with it.
Yes you'll have better luck with 2.xx.fc15 but I'd check the change-log. Basically you want to stay under gtk3 so fc14 ~ maybe fc15 And pull in the dependencies before rebuilding. So, at minimum and for sanities sake, it should go like: Late Edit: Also check the scipts. It doesn't look so straght forward. You might have dive into 1.x... or do some more work. Late late edit: Ah. monitor, job control. It should work, or be made to work. |
||
Posted on: 2011/9/27 17:23
|
|||
|
Re: simple-scan on CENTOS 6 | #9 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
Quote:
what should i do? will try with older ver... |
||
Posted on: 2011/9/27 17:44
|
|||
|
Re: simple-scan on CENTOS 6 | #10 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/9/3
From California, US
Posts: 6921
|
The link TrevorH gave you has a reference to SetupRpmBuildEnvironment. You need to go through it with special attention to the Other tools you may need section.
|
||
Posted on: 2011/9/27 17:52
|
|||
|
Re: simple-scan on CENTOS 6 | #11 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2011/7/6
From
Posts: 43
|
Ok... there we go. The easiest path is simple-scan-2.31.5-1. Rebuilt and installed. Try it if your 2.32.0.1-2 rpm fails to install.
|
||
Posted on: 2011/9/27 18:02
|
|||
|
Re: simple-scan on CENTOS 6 | #12 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2011/7/6
From
Posts: 43
|
Sorry for the double post. But if the OP's still slinging and determined to get 2.23.0.2-1's then edit your spec. CentOS doesn't like seam to like the gconf macros. Or use 2.31.5-1's spec instead.
|
||
Posted on: 2011/9/27 19:25
|
|||
|
Re: simple-scan on CENTOS 6 | #13 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
2.31.5-1 works! thanks guys a lot :)
|
||
Posted on: 2011/9/28 7:06
|
|||
|
Re: simple-scan on CENTOS 6 | #14 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
I found that this version of simple-scan has bug, I cant save images to pdf...
here is a fix, script in python, but it doesnt work for me http://bobthegnome.blogspot.com/2011/09/broken-pdfs-in-simple-scan.html could someone tell me why? or how to fix this I tried to install never versions, rpmbuild running fine but there are erros during install... |
||
Posted on: 2011/9/28 11:06
|
|||
|
Re: simple-scan on CENTOS 6 | #15 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2011/7/6
From
Posts: 43
|
I'm away and haven't tried saving to pdf. I will later this evening.
Right. CentOS doesn't like the gconf macros found in 2.32.0.2-1's spec. See posts 11 & 12. But it will build and install with 2.31.5-1's spec. However I saved as a .png and haven't tried .pdf. Late edit: Ok. So I think it was resolved in 3.1.90. https://bugs.launchpad.net/simple-scan/+bug/741628 https://bugs.gentoo.org/show_bug.cgi?id=380429 |
||
Posted on: 2011/9/28 16:02
|
|||
|
Re: simple-scan on CENTOS 6 | #16 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
ok, but I do not exacly understand this, how to "edit your spec" from older ver to 2.32.0.2-1?
Please try do save to pdf when You will be at home, In older ver I can save, but it doesnt open after save |
||
Posted on: 2011/9/28 16:17
|
|||
|
Re: simple-scan on CENTOS 6 | #17 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/9/3
From California, US
Posts: 6921
|
I can see simple-scan is a nice program. But if running it on CentOS becomes rather problematic, you might want to consider looking at gscan2pdf. It is available from repoforge (formerly rpmforge). I've been using it on CentOS 5 and 6 with great success.
|
||
Posted on: 2011/9/28 16:23
|
|||
|
Re: simple-scan on CENTOS 6 | #18 |
|
|---|---|---|---|
|
Jr Board Member
![]()
Joined: 2011/7/6
From
Posts: 43
|
+1 in trying something else.
However, I can save and reopen single & multi page pdfs in 2.32.0.2-1 without difficulty. Verified with okular, gimp, and libreoffice. The rpm is only 190kb and I don't know where I can upload this for you. Suggestions? Umm nope, I'm not opening this repo to the wild. Then again, considering you've been trying to install from source, who's to say something isn't lingering around. Late Edit: Yep..., just pushed through a 20 page document and it saved as a multipage pdf without a problem. |
||
Posted on: 2011/9/29 0:45
|
|||
|
Re: simple-scan on CENTOS 6 | #19 |
|
|---|---|---|---|
Joined: 2010/7/3
From
Posts: 50
|
simple-scan-2.32.0.2 is now available in my repo at: http://pkgrepo.linuxtech.net/el6/testing/x86_64/
I have built and tested it on SL6.1, but I imagine it should work fine on Centos6 too. Please let us know if it works for you. |
||
Posted on: 2011/9/29 2:12
|
|||
|
Re: simple-scan on CENTOS 6 | #20 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2011/9/27
From
Posts: 10
|
ver from megatux repos works great! I can save to pdf, thanks guys a lot!
|
||
Posted on: 2011/9/29 12:55
|
|||
Top Previous Topic Next Topic |
|
|



Topic options
Print Topic
Threaded
Newest First
pkozerski





You cannot start a new topic.
You can view topic.