Building svxlink on openSUSE

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building svxlink on openSUSE

Sid Boyce
Under openSUSE 10.2Alpha4 I had a problem with various bits giving
"error 2" and no further information, "make -d" wasn't any help either,
so as purely a SWAG (from the same Amdahl Corporation stable as FUD,
means Scientific Wild Ass Guess - it was an official fix code for the
mainframes), I copied my old friend /usr/include/gsm/gsm.h into the
directories as the build failed, success. Since then the method:-
in the src/ directory of the svxlink directory or where CVS put it.
# ./create_config.sh .config
# make     (wait until the include directory is created then CTRL-C)
# cp /usr/include/gsm/gsm.h ./include/
# make
# make install (or "checkinstall to build a RPM).
It seems it's not finding gsm.h either in /usr/include or
/usr/include/gsm, but the build doesn't complain about it as it used to.
May be it's a distro problem as 051202 built under SuSE 10.0 and I think
10.1 once /usr/include/gsm.h existed. SuSE now uses the gsm that all
other distros use in place of the old one that had its origins in Germany.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building svxlink on openSUSE

Ken Walker-3
Under Fedora Core 4 & 5 I had issues on the compile of dtmf_plot as well. In my
case in the directory, svxlink/src/svxlink/dtmf_plot/depend, the file
dtmf_plot.dpp was the culprit. It had the wrong path to another .h file,
AsyncQtApplication.h. I have appended a short diff below so you can see the
difference. After this fix all compiled correctly.

Ken - KC9GKA

diff dtmf_plot.dpp dtmf_plot.dpp~
159c159
<   /usr/lib/qt-3.3/include/qlineedit.h
/usr/src/custom/svxlink/src/async/qt/AsyncQtApplication.h \
---
>   /usr/lib/qt-3.3/include/qlineedit.h AsyncQtApplication.h \

--
Unix IS user friendly...It's just choosy about who it calls friend!

Quoting Sid Boyce <[hidden email]>:

> Under openSUSE 10.2Alpha4 I had a problem with various bits giving
> "error 2" and no further information, "make -d" wasn't any help either,
> so as purely a SWAG (from the same Amdahl Corporation stable as FUD,
> means Scientific Wild Ass Guess - it was an official fix code for the
> mainframes), I copied my old friend /usr/include/gsm/gsm.h into the
> directories as the build failed, success. Since then the method:-
> in the src/ directory of the svxlink directory or where CVS put it.
> # ./create_config.sh .config
> # make     (wait until the include directory is created then CTRL-C)
> # cp /usr/include/gsm/gsm.h ./include/
> # make
> # make install (or "checkinstall to build a RPM).
> It seems it's not finding gsm.h either in /usr/include or
> /usr/include/gsm, but the build doesn't complain about it as it used to.
> May be it's a distro problem as 051202 built under SuSE 10.0 and I think
> 10.1 once /usr/include/gsm.h existed. SuSE now uses the gsm that all
> other distros use in place of the old one that had its origins in Germany.
> Regards
> Sid.
> --
> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> Specialist, Cricket Coach
> Microsoft Windows Free Zone - Linux used for all Computing Tasks


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building svxlink on openSUSE

Tobias Blomberg
In reply to this post by Sid Boyce
On Tuesday 17 October 2006 15:15, Sid Boyce wrote:
> Under openSUSE 10.2Alpha4 I had a problem with various bits giving
> "error 2" and no further information, "make -d" wasn't any help either,
> so as purely a SWAG (from the same Amdahl Corporation stable as FUD,
> means Scientific Wild Ass Guess - it was an official fix code for the
> mainframes), I copied my old friend /usr/include/gsm/gsm.h into the
> directories as the build failed, success. Since then the method:-
> in the src/ directory of the svxlink directory or where CVS put it.
> # ./create_config.sh .config

The create_config.sh script should not be run manually. It is run by "make"
when appropriate. If you really want to force a recreation of the ".config"
file, remove that file and type make.


> # make     (wait until the include directory is created then CTRL-C)
> # cp /usr/include/gsm/gsm.h ./include/

It is strange that gsm.h is not found when put under /usr/include. Really
strange. Nearly impossible. If one really want to add another include
directory there are better ways. For example, set "export
CPATH=/usr/include/gsm" to have the compiler look in that directory.
It should never be necessary to copy files into the source tree to make it
work.


> # make
> # make install (or "checkinstall to build a RPM).

checkinstall?  What's that?

73 de SM0SVX / Tobias


> It seems it's not finding gsm.h either in /usr/include or
> /usr/include/gsm, but the build doesn't complain about it as it used to.
> May be it's a distro problem as 051202 built under SuSE 10.0 and I think
> 10.1 once /usr/include/gsm.h existed. SuSE now uses the gsm that all
> other distros use in place of the old one that had its origins in Germany.
> Regards
> Sid.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building svxlink on openSUSE

Sid Boyce
Tobias Blomberg wrote:

> On Tuesday 17 October 2006 15:15, Sid Boyce wrote:
>> Under openSUSE 10.2Alpha4 I had a problem with various bits giving
>> "error 2" and no further information, "make -d" wasn't any help either,
>> so as purely a SWAG (from the same Amdahl Corporation stable as FUD,
>> means Scientific Wild Ass Guess - it was an official fix code for the
>> mainframes), I copied my old friend /usr/include/gsm/gsm.h into the
>> directories as the build failed, success. Since then the method:-
>> in the src/ directory of the svxlink directory or where CVS put it.
>> # ./create_config.sh .config
>
> The create_config.sh script should not be run manually. It is run by "make"
> when appropriate. If you really want to force a recreation of the ".config"
> file, remove that file and type make.
>
Thanks, I shall give that a try.

>
>> # make     (wait until the include directory is created then CTRL-C)
>> # cp /usr/include/gsm/gsm.h ./include/
>
> It is strange that gsm.h is not found when put under /usr/include. Really
> strange. Nearly impossible. If one really want to add another include
> directory there are better ways. For example, set "export
> CPATH=/usr/include/gsm" to have the compiler look in that directory.
> It should never be necessary to copy files into the source tree to make it
> work.
>
It is indeed strange as in 10.0 it was found in /usr/include.

>
>> # make
>> # make install (or "checkinstall to build a RPM).
>
> checkinstall?  What's that?
>
It's a utility that is capable of making a .deb, .rpm or .slp package
out of compiled sources, the SuSE version only does .rpm, but the
Mandriva version lets you choose.
barrabas:/ftp/oct06/SVXLINK_CVS/src # checkinstall

checkinstall 1.6.0, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
            This software is released under the GNU GPL.


The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs?  [y]:

Preparing package documentation...OK

Please write a description for the package.
End your description with an empty line or EOF.
 >> SVXLINK is an EchoLink package for Linux
 >>

**************************************
**** RPM package creation selected ***
**************************************

This package will be built according to these values:

1 -  Summary: [ SVXLINK is an EchoLink package for Linux ]
2 -  Name:    [ svxlink ]
3 -  Version: [ 20061017 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ Applications/System ]
7 -  Architecture: [ i386 ]
8 -  Source location: [ src ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ src ]

Enter a number to change any of them or press ENTER to continue:

The above creates /usr/src/packages/RPMS/i386/svxlink-20061017-1.i386.rpm

> 73 de SM0SVX / Tobias
>
>
>> It seems it's not finding gsm.h either in /usr/include or
>> /usr/include/gsm, but the build doesn't complain about it as it used to.
>> May be it's a distro problem as 051202 built under SuSE 10.0 and I think
>> 10.1 once /usr/include/gsm.h existed. SuSE now uses the gsm that all
>> other distros use in place of the old one that had its origins in Germany.
>> Regards
>> Sid.
>
>
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building svxlink on openSUSE

Tobias Blomberg
In reply to this post by Ken Walker-3
On Tuesday 17 October 2006 19:03, Ken Walker wrote:
> Under Fedora Core 4 & 5 I had issues on the compile of dtmf_plot as well.
> In my case in the directory, svxlink/src/svxlink/dtmf_plot/depend, the file
> dtmf_plot.dpp was the culprit. It had the wrong path to another .h file,
> AsyncQtApplication.h. I have appended a short diff below so you can see the
> difference. After this fix all compiled correctly.

The .dpp files are auto generated during the compile process and if something
change in the system (like include files being moved) the compilation will
break. To fix this a simple "make realclean" will remove the .dpp files. They
will be recreated when running "make" the next time.

73 de SM0SVX / Tobias

>
> Ken - KC9GKA
>
> diff dtmf_plot.dpp dtmf_plot.dpp~
> 159c159
> <   /usr/lib/qt-3.3/include/qlineedit.h
> /usr/src/custom/svxlink/src/async/qt/AsyncQtApplication.h \
> ---
>
> >   /usr/lib/qt-3.3/include/qlineedit.h AsyncQtApplication.h \
>
> --
> Unix IS user friendly...It's just choosy about who it calls friend!
>
> Quoting Sid Boyce <[hidden email]>:
> > Under openSUSE 10.2Alpha4 I had a problem with various bits giving
> > "error 2" and no further information, "make -d" wasn't any help either,
> > so as purely a SWAG (from the same Amdahl Corporation stable as FUD,
> > means Scientific Wild Ass Guess - it was an official fix code for the
> > mainframes), I copied my old friend /usr/include/gsm/gsm.h into the
> > directories as the build failed, success. Since then the method:-
> > in the src/ directory of the svxlink directory or where CVS put it.
> > # ./create_config.sh .config
> > # make     (wait until the include directory is created then CTRL-C)
> > # cp /usr/include/gsm/gsm.h ./include/
> > # make
> > # make install (or "checkinstall to build a RPM).
> > It seems it's not finding gsm.h either in /usr/include or
> > /usr/include/gsm, but the build doesn't complain about it as it used to.
> > May be it's a distro problem as 051202 built under SuSE 10.0 and I think
> > 10.1 once /usr/include/gsm.h existed. SuSE now uses the gsm that all
> > other distros use in place of the old one that had its origins in
> > Germany. Regards
> > Sid.
> > --
> > Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> > Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> > Specialist, Cricket Coach
> > Microsoft Windows Free Zone - Linux used for all Computing Tasks
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Svxlink-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/svxlink-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel