[gnome-bluetooth] phonemgr installation troubles

Tonni Aagesen agent29 at stofanet.dk
Tue Oct 7 10:46:00 BST 2003


Hi Alastair and list,

Thanks for your answer. I've never patched anything yet, so I don' if I 
dare to apply it. Could you perhaps give a somewhat detailed description 
on howto do this?

Then we might be able to se if its a local problem or not.

Best regards
Tonni Aagesen



Alastair Tse wrote:
> On Mon, 2003-10-06 at 17:40, Alastair Tse wrote:
> 
>>http://dev.gentoo.org/~liquidx/files/phonemgr-0.2.1.ebuild
> 
> 
> Ahh, I just remembered why this isn't in the Gentoo Portage yet. There
> were some compatibility problems with gcc-3.3.x I encountered while
> compiling it. (And also some problems running it, but I still haven't
> had the time to confirm if it is a local problem or not.)
> 
> Attached is a patch that solves some of the compilation issues. Maybe
> Edd may want to take a look at them.
> 
> Hope that helps.
> 
> Cheers,
> 
> 
> ------------------------------------------------------------------------
> 
> --- phonemgr-0.2.1/src/gsm.cc	2003-09-19 23:01:56.679823440 +0100
> +++ phonemgr-0.2.1/src/gsm.cc	2003-09-19 23:07:57.923905992 +0100
> @@ -260,11 +260,11 @@
>  	} // while (1)
>  
>    } catch (gsmlib::GsmException &ge) {
> -	cerr << ("[ERROR]: ") << ge.what() << endl;
> +     std::cerr << ("[ERROR]: ") << ge.what() << std::endl;
>  	if (ge.getErrorClass() == gsmlib::MeTaCapabilityError)
> -	  cerr << ("[ERROR]: ")
> +       std::cerr << ("[ERROR]: ")
>  		   << ("(try setting sms_type, please refer to gsmsmsd manpage)")
> -		   << endl;
> +	   << std::endl;
>  
>  	m_signal_status.emit(PHONELISTENER_ERROR);
>  
> --- phonemgr-0.2.1/src/gsm.h	2003-09-19 22:32:34.482718120 +0100
> +++ phonemgr-0.2.1/src/gsm.h	2003-09-19 22:34:39.818664160 +0100
> @@ -2,10 +2,14 @@
>  #define _PHONEMGR_GSM_H
>  
>  #include <glibmm.h>
> -
> +#include <vector>
> +#include <string>
>  #include <gsmlib/gsm_me_ta.h>
>  #include <gsmlib/gsm_event.h>
>  
> +using std::vector;
> +using std::string;
> +
>  // local class to handle SMS events
>  
>  struct IncomingMessage
> --- phonemgr-0.2.1/src/phonemgr.cc	2003-09-19 23:17:19.463538992 +0100
> +++ phonemgr-0.2.1/src/phonemgr.cc	2003-09-19 23:17:04.058880856 +0100
> @@ -362,6 +362,6 @@
>  									  phonemgr_applet_factory,
>  									  NULL);
>    } catch(const Glib::Error& ex) {
> -	cout << ex.what() << endl;
> +     std::cout << ex.what() << std::endl;
>    }
>  }
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gnome-bluetooth mailing list
> gnome-bluetooth at usefulinc.com
> http://lists.usefulinc.com/mailman/listinfo/gnome-bluetooth





More information about the gnome-bluetooth mailing list