-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi There
I have some Issues concerning the include Files for avra and hope, that you can guide me to the "nicest" solution. All I am writing refers to my System, which is Ubuntu 11.10. Right now, what I do is to put the right include-file, for example m8def.inc into the directory in which I also have the source Code. I don't like that, because I still need a place, where I can store all the includes and I have to Care about it. Also, I'm not really sure about redistributing my Code, if I want to put it under the GPL, since these files obviously come from Atmel. So I would prefer a solution, where the files are stored in a central place, managed by the packaging system of my distribution. If I use the version of avra which is in the Repositories, I get version 1.2.3 and the include-Files are installed to /usr/share/avra. This would be my favourite solution, if it actually worked. It doesn't, because avra 1.2.3 throws errors for the c-style things #ifndef, #define, #pragma. The same include Files do work with avra 1.3.0, which I installed from source with the following commands: ./bootstrap ./configure make sudo checkinstall -D make install (Since I don't like installing software without the packaging system, I do it like this. At least, I can easily remove the software, even if I should delete the sourcecode from my system.) This works fine, avra 1.3 gets installed and is also able to work with the include files. The bad thing: They don't get installed anywhere, they just stay in the source-directory. So I have the same problem as in the beginning, I have the include-Files somewhere I have to take care about. This is also the case if I install it without checkinstall and just type sudo make install A solution that actually worked was to install avra from the repositories and from the source in parallel. But there are a few ugly things about it: First, if I type avra on the prompt, version 1.3 is started, but I don't know why. It could be also version 1.2.3 Second, what is going to happen, if the packaging system Updates avra to version 1.3? I fear, that I get conflicts. Basically, I see the following solutions: * Wait until Version 1.3 is in the repositories and the problem is solved. This sucks, I want to use this program now, and not in a future far away. * Ask the maintainers to upload a new version It is a possibility, but I don't like causing work for others. In addition, I already have found a (ugly) solution). * Ask on the mailing list for help This is, what I'm doing right now. * Read more into packaging, compare the versions, find the error This would be the hardest to do for me. I just started reading into packaging and have done a helloworld package, but that is another magnitude. It would take the longest for me, I'm not sure if I am able to do it, but I would try. However, I hope I can find some guidance here in fixing the issue from people who are more experienced than me and know exactly what to do. I think, I would still pack a package when I find an easy solution here, just for a bit of more practice. But as I said, I'm not sure if I will be successful. Best Johannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPK7w3AAoJEOQ8kft9YDmxXAYQAIUDjsuvUtGdqwACM2zLr6MO +s9t4oy39Hv7nI7H8ZT7mSpkJ5YrbQLNwQcJusD7VoZDksf6izfCwQkp6atBvJSm rU3OdlZ6hdiZFgRlghCYbpj/lCQqCnkGRo/2ErAWeCYjM2P5K+tMe5xc5UcgGfJj eOhtstUVpTBg+DQrqT3jg34oIxoPU95JbOk45x2KT/XWPBazO5ilPw3Co9xPxGv7 H69bEazIRHwUnUE5Dlhz2R0e81VD/Wa+iKjukHd+C7o57e4Bw/zIe3dNUc9l+qXT aoBoMpsGuq9B/zBoNWFLlVF0w0cGpBjdPm9ajpKlvmDN/Ml9Qke6OMkX0NXCwFBk /d3zK8SYmnnPGU9FwcBviHOeK6m/3bmT+Kd9gZSUk5uZfSJhiU2Sf8J4D7pIH1jm cYmzKXxGhVCcskMLjsSwab/qRHdPabinWsGGw+Kin2QNFMBeNKr/MKeS+hCMvMxl /95x66chcM2y5gFj9P0TyveHf141/RGbzGA1KoF0y2JQQ10Sv1Q7zFplqSZwhIR5 UsETqenowIADvSipPB6ut7KlimlrJ6vhdWGcHK1HFqlZGDZZdAOQ/IsrPkk/tb5z 1I7xGlhGQ0ZtIg+6gyBHW3OCrF0qVx+C3iqdO2Uhb61/aoNV1mkTLw4kbJGP8URI pZ19wH8Gelr9iJBA1F/j =03fi -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Avra-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avra-user
