installing fityk

309 views
Skip to first unread message

Arman

unread,
Apr 27, 2012, 5:38:20 AM4/27/12
to fityk-users
Dear all,

I'm desperately trying to install fiytk. I have to OSs available. One
CentOs and one mac. It seems that it's not possible to have fityk in
CentOs as I do get so many errors while compling from source rpm
available for Fedora. I suppose wxGTK is the culprit.

As my second option I have gone to my mac to install fityk there.
After downloading source code and trying to compile it from source
code the first error appears (please see below).

Can somebody please help me to have fityk in mac or CentOs (it don't
mind which, I only need fityk!).

All the best,
Arman

Error that appears on mac

command:
./autoge.sh

message:

/Users/Arman/Downloads/wojdyr-fityk-8b97493/autogen.sh: line 6: make:
command not found
+ curl -O http://www.physics.wisc.edu/~craigm/idl/down/cmpfit-1.2.tar.gz
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:19
--:--:-- 0
curl: (56) Recv failure: Operation timed out
+ tar xzf cmpfit-1.2.tar.gz
tar: Error opening archive: Failed to open 'cmpfit-1.2.tar.gz'
+ mkdir -p src/cmpfit/
+ cp -af 'cmpfit-1.2/mpfit.*' src/cmpfit/
cp: cmpfit-1.2/mpfit.*: No such file or directory
+ autoreconf --install --verbose
/Users/Arman/Downloads/wojdyr-fityk-8b97493/autogen.sh: line 16:
autoreconf: command not found

Arman

unread,
Apr 27, 2012, 5:47:16 AM4/27/12
to fityk-users
Sorry the above error is due to connectivity problems, but even after
I solve connection problem error still is:

+ curl -O http://www.physics.wisc.edu/~craigm/idl/down/cmpfit-1.2.tar.gz
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
100 30431 100 30431 0 0 27741 0 0:00:01 0:00:01
--:--:-- 27765
+ tar xzf cmpfit-1.2.tar.gz
+ mkdir -p src/cmpfit/
+ cp -af cmpfit-1.2/mpfit.c cmpfit-1.2/mpfit.h src/cmpfit/
+ autoreconf --install --verbose
./autogen.sh: line 16: autoreconf: command not found

On Apr 27, 1:38 pm, Arman <arman.esha...@gmail.com> wrote:
> Dear all,
>
> I'm desperately trying to install fiytk. I have to OSs available. One
> CentOs and one mac. It seems that it's not possible to have fityk in
> CentOs as I do get so many errors while compling from source rpm
> available for Fedora. I suppose wxGTK is the culprit.
>
> As my second option I have gone to my mac to install fityk there.
> After downloading source code and trying to compile it from source
> code the first error appears (please see below).
>
> Can somebody please help me to have fityk in mac or CentOs (it don't
> mind which, I only need fityk!).
>
> All the best,
> Arman
>
> Error that appears on mac
>
> command:
> ./autoge.sh
>
> message:
>
> /Users/Arman/Downloads/wojdyr-fityk-8b97493/autogen.sh: line 6: make:
> command not found
> + curl -Ohttp://www.physics.wisc.edu/~craigm/idl/down/cmpfit-1.2.tar.gz

Marcin Wojdyr

unread,
Apr 27, 2012, 5:53:14 AM4/27/12
to fityk...@googlegroups.com
Hi Arman,
I think it will be easier on Linux.
I suppose you can find RPM with wxGTK 2.8 for CentOS (I don't know
RHEL well, but Fedora has it).
If you manage to install it, try compiling fityk 0.9.8 from tarball
(newer version require wxGTK 2.9, which is not yet in Fedora).

Best,
Marcin
> --
> http://groups.google.com/group/fityk-users

Arman

unread,
Apr 27, 2012, 6:52:16 AM4/27/12
to fityk-users
Dear Marcin,

Thanks for your response. I managed to install win GTK.

Compiling fityk 0.9.8 from tarball was OK.

./configure was also OK.

However in "make" step, i get the following error, can you please let
me know what I'm missing here:

make[3]: Entering directory `/home/msrc/Downloads/fityk-0.9.8/src/
wxgui'
g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/lib/wx/include/gtk2-ansi-
release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -
D_LARGE_FILES -D__WXGTK__ -DXYCONVERT -g -O2 -MT xyconvert-
xybrowser.o -MD -MP -MF .deps/xyconvert-xybrowser.Tpo -c -o xyconvert-
xybrowser.o `test -f 'xybrowser.cpp' || echo './'`xybrowser.cpp
xybrowser.cpp:11:25: error: wx/filectrl.h: No such file or directory
xybrowser.cpp:223: error: ‘wxFileCtrlEvent’ has not been declared
xybrowser.cpp: In member function ‘void XyFileBrowser::SetPath(const
wxString&)’:
xybrowser.cpp:199: error: ‘class wxFileCtrl’ has no member named
‘SetPath’
xybrowser.cpp: At global scope:
xybrowser.cpp:242: error: ‘EVT_FILECTRL_SELECTIONCHANGED’ was not
declared in this scope
xybrowser.cpp:243: error: expected ‘}’ before ‘wxEventTableEntry’
xybrowser.cpp:243: error: expected ‘,’ or ‘;’ before
‘wxEventTableEntry’
xybrowser.cpp:243: error: expected declaration before ‘}’ token
make[3]: *** [xyconvert-xybrowser.o] Error 1
make[3]: Leaving directory `/home/msrc/Downloads/fityk-0.9.8/src/
wxgui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/msrc/Downloads/fityk-0.9.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/msrc/Downloads/fityk-0.9.8'
make: *** [all] Error 2

Alll the best,
Arman
> > + curl -Ohttp://www.physics.wisc.edu/~craigm/idl/down/cmpfit-1.2.tar.gz

Marcin Wojdyr

unread,
Apr 27, 2012, 9:33:47 AM4/27/12
to fityk...@googlegroups.com
I've just had a look how RPMs for this version have been built,
a configure option is needed:
./configure --disable-xyconvert

That's because I used new features from wxWidgets 2.9 in xyconvert.
I hope that with this it will finally work :)

Cheers
Marcin

Arman

unread,
Apr 27, 2012, 11:02:36 AM4/27/12
to fityk...@googlegroups.com
Thanks it worked!


On Friday, April 27, 2012 6:03:47 PM UTC+4:30, Marcin Wojdyr wrote:
I've just had a look how RPMs for this version have been built,
a configure option is needed:
./configure --disable-xyconvert

That's because I used new features from wxWidgets 2.9 in xyconvert.
I hope that with this it will finally work :)

Cheers
Marcin

On Fri, Apr 27, 2012 at 11:52,
 
> Dear Marcin,
Reply all
Reply to author
Forward
0 new messages