Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I need some help with compiling an application from source. Please

  1. #1
    Join Date
    Jan 2010
    Location
    behind the 8 ball
    Posts
    111

    Default I need some help with compiling an application from source. Please

    I'm trying to compile the program WinFF from source.

    I used this application all the time with openSUSE 11.2, and Ubuntu but Packman has no package for 11.3

    I know I could ask for it to be repackaged and someone would probably do it but I would like to take the opportunity to try something new. (for me anyway)

    I found some useful step by step instructions and read some sticky posts by Oldcpu and gave it a go. I didn't get very far.

    As you can see in my posting below when I unpacked the tar ball and went to run the configure command and there I hit a snag.


    linux-2vac:~ # cd /usr/local/src
    linux-2vac:/usr/local/src # ls
    winff-1.3.0-source.tar.gz
    linux-2vac:/usr/local/src # tar xvzf winff-1.3.0-source.tar.gz
    winff/
    winff/changelog.txt
    winff/clean.bat
    winff/clean.sh
    winff/docs/
    winff/docs/License-Documents.txt
    winff/docs/WinFF.ca.odt
    winff/docs/WinFF.ca.pdf
    winff/docs/WinFF.en.odt
    winff/docs/WinFF.en.pdf
    winff/docs/WinFF.es.pdf
    winff/docs/WinFF.es_AR.odg
    winff/docs/WinFF.fr.odt
    winff/docs/WinFF.fr.pdf
    winff/docs/WinFF.nl.odt
    winff/docs/WinFF.nl.pdf
    winff/fpc-res.res
    winff/languages/
    winff/languages/winff.ar.po
    winff/languages/winff.bg.po
    winff/languages/winff.ca.po
    winff/languages/winff.de.po
    winff/languages/winff.el.po
    winff/languages/winff.es.po
    winff/languages/winff.es_AR.po
    winff/languages/winff.es_UY.po
    winff/languages/winff.fr.po
    winff/languages/winff.gl.po
    winff/languages/winff.he.po
    winff/languages/winff.hu.po
    winff/languages/winff.it.po
    winff/languages/winff.ku.po
    winff/languages/winff.nb.po
    winff/languages/winff.nl.po
    winff/languages/winff.pb.po
    winff/languages/winff.pl.po
    winff/languages/winff.po
    winff/languages/winff.pot
    winff/languages/winff.pt.po
    winff/languages/winff.ru.po
    winff/languages/winff.sl.po
    winff/languages/winff.sr.po
    winff/languages/winff.sv.po
    winff/languages/winff.tr.po
    winff/languages/winff.zh.po
    winff/languages/winff.zh_CN.po
    winff/License.txt
    winff/presets.xml
    winff/README-Presets.txt
    winff/README.txt
    winff/RESOURCES.RC
    winff/resources.res
    winff/unit1.lfm
    winff/unit1.pas
    winff/unit2.lfm
    winff/unit2.pas
    winff/unit3.lfm
    winff/unit3.pas
    winff/unit4.lfm
    winff/unit4.pas
    winff/unit5.lfm
    winff/unit5.pas
    winff/unit6.lfm
    winff/unit6.pas
    winff/winff-icons/
    winff/winff-icons/16x16/
    winff/winff-icons/16x16/winff.png
    winff/winff-icons/24x24/
    winff/winff-icons/24x24/winff.png
    winff/winff-icons/32x32/
    winff/winff-icons/32x32/winff.png
    winff/winff-icons/48x48/
    winff/winff-icons/48x48/winff.png
    winff/winff-icons/add.png
    winff/winff-icons/clear.png
    winff/winff-icons/convert.png
    winff/winff-icons/play.png
    winff/winff-icons/README-Icons.txt
    winff/winff-icons/remove.png
    winff/winff-icons/settings.png
    winff/winff-icons/winff_logo2.svgz
    winff/winff.1
    winff/winff.ico
    winff/winff.lfm
    winff/winff.lpi
    winff/winff.lpr
    winff/winff.rc
    winff/winff.res
    linux-2vac:/usr/local/src # ls
    winff winff-1.3.0-source.tar.gz
    linux-2vac:/usr/local/src # cd winff
    linux-2vac:/usr/local/src/winff # ls
    changelog.txt License.txt unit1.lfm unit4.lfm winff.1 winff.rc
    clean.bat presets.xml unit1.pas unit4.pas winff.ico winff.res
    clean.sh README-Presets.txt unit2.lfm unit5.lfm winff-icons
    docs README.txt unit2.pas unit5.pas winff.lfm
    fpc-res.res RESOURCES.RC unit3.lfm unit6.lfm winff.lpi
    languages resources.res unit3.pas unit6.pas winff.lpr
    linux-2vac:/usr/local/src/winff # ./configure
    bash: ./configure: No such file or directory
    linux-2vac:/usr/local/src/winff #
    Since this is new to me I have no idea what to do next. Any help is greatly appreciated.
    “Most of the great problems we face today are caused by politicians creating solutions to problems they created in the first place.” —Walter William

  2. #2
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: I need some help with compiling an application from source. Please

    I have installed the 64-bit 11.2 rpm on 64-bit 11.3 and it seems to be working fine. Just download them:
    For 32-bit:
    http://packman.links2linux.org/downl...m.1.2.i586.rpm

    For 64-bit:
    http://packman.links2linux.org/downl...1.2.x86_64.rpm

    Once you have downloaded either one of them (depending on your computer architecture) install it. For example for 64-bit (become root first by doing su -):
    Code:
    cd /location/where/the/winff/rpm/file/is
    zypper in winff-1.3.0-0.pm.1.2.x86_64.rpm
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  3. #3
    Join Date
    Jan 2010
    Location
    behind the 8 ball
    Posts
    111

    Default Re: I need some help with compiling an application from source. Please

    Quote Originally Posted by ah7013 View Post
    I have installed the 64-bit 11.2 rpm on 64-bit 11.3 and it seems to be working fine. Just download them:
    For 32-bit:
    http://packman.links2linux.org/downl...m.1.2.i586.rpm

    For 64-bit:
    http://packman.links2linux.org/downl...1.2.x86_64.rpm

    Once you have downloaded either one of them (depending on your computer architecture) install it. For example for 64-bit (become root first by doing su -):
    Code:
    cd /location/where/the/winff/rpm/file/is
    zypper in winff-1.3.0-0.pm.1.2.x86_64.rpm
    Thanks for the reply. It installs but when i try to run it I get an error window that says "Access violation press ok to risk data corruption or cancel to kill program"

    I'm using 32 bit. Perhaps that's where the difference is
    “Most of the great problems we face today are caused by politicians creating solutions to problems they created in the first place.” —Walter William

  4. #4
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: I need some help with compiling an application from source. Please

    Quote Originally Posted by linuxminded View Post
    Thanks for the reply. It installs but when i try to run it I get an error window that says "Access violation press ok to risk data corruption or cancel to kill program"

    I'm using 32 bit. Perhaps that's where the difference is
    Do you get any additional output from the terminal (Konsole on KDE) when you run winff through there?
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  5. #5
    Join Date
    Jan 2010
    Location
    behind the 8 ball
    Posts
    111

    Default Re: I need some help with compiling an application from source. Please

    Quote Originally Posted by ah7013 View Post
    Do you get any additional output from the terminal (Konsole on KDE) when you run winff through there?
    This is the terminal output:

    stuart@linux-2vac:~> winff

    [WARNING] Out of OEM specific VK codes, changing to unassigned
    [WARNING] Out of unassigned VK codes, assigning $FF
    [FORMS.PP] ExceptionOccurred
    Sender=EAccessViolation
    Exception=Access violation
    Stack trace:
    $B746F1DE
    $0828EAAD
    $081BD92B
    $081BCB7A
    $0817BB28
    $0817B715
    $0817C70A
    $0817BC05
    $0817B715
    $0817C70A
    $0817BC05
    $08077E01
    $0807D0EC
    $0807E1A9
    $0817B715
    $0817C70A
    $0808550E
    TApplication.HandleException Access violation
    Stack trace:
    $B746F1DE
    $0828EAAD
    $081BD92B
    $081BCB7A
    $0817BB28
    $0817B715
    $0817C70A
    $0817BC05
    $0817B715
    $0817C70A
    $0817BC05
    $08077E01
    $0807D0EC
    $0807E1A9
    $0817B715
    $0817C70A
    $0808550E
    “Most of the great problems we face today are caused by politicians creating solutions to problems they created in the first place.” —Walter William

  6. #6
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: I need some help with compiling an application from source. Please

    You may be right about encountering this error only on 32-bit. I will try it on my 32-bit laptop soon and let you know if it works or not.
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: I need some help with compiling an application from source. Please

    While I do not want to interfere in your discussion, I want to point out that the compilation is NOT sometthing to be done as root. You should do the unpacking, the configure and the make steps as a normal user. Only the instal step should be done as root.
    Henk van Velden

  8. #8
    Join Date
    Jan 2010
    Location
    behind the 8 ball
    Posts
    111

    Default Re: I need some help with compiling an application from source. Please

    Quote Originally Posted by hcvv View Post
    While I do not want to interfere in your discussion, I want to point out that the compilation is NOT sometthing to be done as root. You should do the unpacking, the configure and the make steps as a normal user. Only the instal step should be done as root.
    Thanks for the tip. I didn't know that. Could that be causing my problems with trying to compile the program or install the rpm from 11.2?
    “Most of the great problems we face today are caused by politicians creating solutions to problems they created in the first place.” —Walter William

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: I need some help with compiling an application from source. Please

    linuxminded wrote:
    > Could that be causing my problems with trying to compile the
    > program or install the rpm from 11.2?


    _anything_ done which does not comply with standard practices can
    (more likely *will*) cause problems, instability, insecurity, system
    failure etc etc etc..

    i may have missed one, but so far i have *never* seen a competently
    written README which instructed the user to become root for configure
    or make....on the other hand i'll bet several thousand how-to-compile
    guides clearly say to never run configure or make as root, ever!

    note: It is far easier to read, understand and follow the instructions
    than to undo the problems caused by not.

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
    Be it ever so humble, there is no place like 127.0.0.1.

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,378

    Default Re: I need some help with compiling an application from source. Please

    Quote Originally Posted by linuxminded View Post
    Thanks for the tip. I didn't know that. Could that be causing my problems with trying to compile the program or install the rpm from 11.2?
    I realy do not know. When you do this as root it means to me that you are doing more as root. Where do you have all sorts of files you downloaded, interneiaite results, etc.? Those should all be within a user owned environment (most probably inside your home directory), but when you are more or less loged in as root a long time, it is very easy to put files on places where they should not be, or remove thiings by accident, etc.
    Henk van Velden

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •