[opensuse-packaging] freemedforms:Error with GUI
Hello Mates, through Cristians Tip the Program starts. After klicking to agree the Terms i'm getting an Loginbox. Per default there is the User: admin and Password: admin. But i don't become an Login. In http://pastebin.ca/1662177 i pasted the Output from the Shell. Maybe we find the Error... -- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 08/11/09 12:52, Sascha 'saigkill' Manns wrote:
Hello Mates,
through Cristians Tip the Program starts.
yes, but is is a fugly hack, the correct solution is to fix all the files that contain the error with a patch.
In http://pastebin.ca/1662177 i pasted the Output from the Shell. Maybe we find the Error...
The application is trying to load qt's sqlite driver that is not installed, missing dependency most likely. Also, it is trying to load either data or modules from places it shouldnt. Only inspecting the source code will help, contact upstream developers with that error log... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello Cristian, hello List, Am Sonntag 08 November 2009 17:45:12 wrote Cristian Rodríguez:
On 08/11/09 12:52, Sascha 'saigkill' Manns wrote:
Hello Mates,
through Cristians Tip the Program starts.
yes, but is is a fugly hack, the correct solution is to fix all the files that contain the error with a patch. Maybe you can help me with that? I'm just a little packager and i don't know all the hacks :-(
In http://pastebin.ca/1662177 i pasted the Output from the Shell. Maybe we find the Error...
The application is trying to load qt's sqlite driver that is not installed, missing dependency most likely. That i have understand. In my Spec i have: BuildRequires: libqt4-sql. In the Requires i have delete that Requires, because osc unlike that.
Only inspecting the source code will help, contact upstream developers with that error log... That i have done, but he just have an Mac, no Linux. Sadly...
-- Sincerely yours Sascha Manns openSUSE Member openSUSE Ambassador openSUSE Marketing Team openSUSE Build Service Web: http://saschamanns.gulli.to Blog: http://saigkill.wordpress.com ClaimID: http://claimid.com/saigkill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sunday 08 November 2009 18:50:56 Sascha 'saigkill' Manns wrote:
Hello Cristian, hello List,
Am Sonntag 08 November 2009 17:45:12 wrote Cristian Rodríguez:
On 08/11/09 12:52, Sascha 'saigkill' Manns wrote:
Hello Mates,
through Cristians Tip the Program starts.
yes, but is is a fugly hack, the correct solution is to fix all the files that contain the error with a patch. Maybe you can help me with that? I'm just a little packager and i don't know all the hacks :-(
The way I would do it is to follow these (fairly) simple steps: 1, unpack the sources, which will give you the directory "freemedforms-0.0.8_2" ; 2, use "cp -a freemedforms-0.0.8_2{,.working}" , which creates a duplicate of the original sources in a separate directory; 3, use the hack that you added to the %build section, but slightly modified so it only looks in the .working directory: find freemedforms-0.0.8_2.working -type f -exec \ sed -i -e "s@freemeforms@freemedforms@g" {} + 4, create the diff and compress it using: diff -ur freemedforms-0.0.8_2{,.working} | \ gzip -9 freemedforms-0.0.8_2-fix_lib_path.diff.gz 5, add this to the spec file: Patch0: freemedforms-0.0.8_2-fix_lib_path.diff.gz 6, and finally apply it in the %prep section: %patch0 -p1 The reason for compressing the patch file is that, for this one, you end up with a 16,000 byte patch which becomes less than 2000 when compressed. After doing the above, and building locally, the package does contain the files in the correct locations: davjam@moray:~/builds/freemedforms> rpm -qlp /usr/src/packages/RPMS/x86_64/freemedforms-0.0.8-1.x86_64.rpm /usr/bin/freemedforms /usr/lib64/freemedforms /usr/lib64/freemedforms/libmedicaltoolkit.so /usr/lib64/freemedforms/libmf_baseformwidgets.so /usr/lib64/freemedforms/libmf_drugswidgetplugin.so /usr/lib64/freemedforms/libmf_richtextwidgets.so /usr/lib64/freemedforms/libmf_specialcombo.so /usr/lib64/freemedforms/libmf_xmlio.so /usr/lib64/freemedforms/libtoolkit.so /usr/lib64/freemedforms/libusertoolkit.so ... <snip rest of package contents> Regards, David Bolt -- Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s openSUSE 10.3 32b | openSUSE 11.0 32b | | openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2rc1 RISC OS 4.02 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 08/11/09 15:50, Sascha 'saigkill' Manns wrote:
Hello Cristian, hello List,
Am Sonntag 08 November 2009 17:45:12 wrote Cristian Rodríguez:
On 08/11/09 12:52, Sascha 'saigkill' Manns wrote:
Hello Mates,
through Cristians Tip the Program starts.
yes, but is is a fugly hack, the correct solution is to fix all the files that contain the error with a patch. Maybe you can help me with that? I'm just a little packager and i don't know all the hacks :-(
ok ;) a quick way is doing something like this, using quilt in the directoy containing your spec file do #quilt setup -v *.spec then change directory to the freemedforms source dir #cd freemedforms-0.0.8_2 then push all patches #quilt push -a then try the following hack #quilt new freemedforms-0.0.8_2-typos.patch export EDITOR="sed -i -e s@freemeforms@freemedforms@g" ; find . -type f -exec grep freemeforms {} + | awk -F: '{print $1}' | xargs quilt edit; quilt ref; unset EDITOR then you have a patch for all this typos. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Cristian Rodríguez
-
David Bolt
-
Sascha 'saigkill' Manns