| 20 that is different from what you're running, then your Gaim source must at |
20 that is different from what you're running, then your Gaim source must at |
| 21 the very least be configured. Note that just running configure will |
21 the very least be configured. Note that just running configure will |
| 22 generally set the prefix to /usr/local. This shouldn't be a problem, except |
22 generally set the prefix to /usr/local. This shouldn't be a problem, except |
| 23 that most packages compile and install Gaim with /usr as the prefix. |
23 that most packages compile and install Gaim with /usr as the prefix. |
| 24 |
24 |
| 25 All plugins must have @c GAIM_PLUGINS defined. You can choose to include |
25 All plugins must have @c GAIM_PLUGINS defined, the definition must be before |
| 26 @c internal.h to do this, but if you choose to do it this way it must be |
26 including any Gaim files. Failure to do so will produce the 'plugin foo |
| 27 included before any other Gaim files. Likewise, if you choose to manually |
27 could not be loaded for an unknown reason'. This is one of the hardest |
| 28 define @c GAIM_PLUGINS, the definition must be before including any Gaim |
28 unknown reasons to track down, so let's try to avoid it at all costs ;) |
| 29 files. Failure to do so will produce the 'plugin foo could not be loaded for |
|
| 30 an unknown reason'. This is one of the hardest unknown reasons to track |
|
| 31 down, so let's try to avoid it at all costs ;) |
|
| 32 |
29 |
| 33 @section hello_world Hello World! |
30 @section hello_world Hello World! |
| 34 I know every tutorial has a hello world, so why should Gaim be any different? |
31 I know every tutorial has a hello world, so why should Gaim be any different? |
| 35 |
32 |
| 36 @code |
33 @code |