Summary: | ASTERISK-11550: asterisk-addons 1.6: make install cross compiling issue | ||
Reporter: | Ovidiu Sas (ovi) | Labels: | |
Date Opened: | 2008-02-29 18:57:00.000-0600 | Date Closed: | 2008-03-31 15:23:40 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Addons/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When I cross compile the asterisk-addons, I need to package everything under a different package (this require installation under a different directory then the make install for asterisk). The make install is failing because the $(DESTDIR)$(MODULES_DIR) directory doesn't exist. ****** ADDITIONAL INFORMATION ****** Here's the patch file that I used to correct this issue: --- Makefile.moddir_rules.orig 2008-02-29 18:04:09.509651744 -0500 +++ Makefile.moddir_rules 2008-02-29 18:00:57.942774336 -0500 @@ -123,6 +123,7 @@ clean:: install:: all @echo "Installing modules from `basename $(CURDIR)`..." + $(INSTALL) -d $(DESTDIR)$(MODULES_DIR) @for x in $(LOADABLE_MODS:%=%.so); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done uninstall:: | ||
Comments: | By: Digium Subversion (svnbot) 2008-03-03 10:58:09.000-0600 Repository: asterisk-addons Revision: 539 U branches/1.4/Makefile.moddir_rules ------------------------------------------------------------------------ r539 | qwell | 2008-03-03 10:58:07 -0600 (Mon, 03 Mar 2008) | 5 lines Make sure to create the modules directory. In some cases, it's possible that this won't already exist. Closes issue ASTERISK-11550. ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=539 By: Digium Subversion (svnbot) 2008-03-03 10:59:34.000-0600 Repository: asterisk-addons Revision: 540 _U trunk/ U trunk/Makefile.moddir_rules ------------------------------------------------------------------------ r540 | qwell | 2008-03-03 10:59:33 -0600 (Mon, 03 Mar 2008) | 13 lines Merged revisions 539 via svnmerge from https://origsvn.digium.com/svn/asterisk-addons/branches/1.4 ........ r539 | qwell | 2008-03-03 11:01:57 -0600 (Mon, 03 Mar 2008) | 5 lines Make sure to create the modules directory. In some cases, it's possible that this won't already exist. Closes issue ASTERISK-11550. ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=540 By: Digium Subversion (svnbot) 2008-03-31 15:23:40 Repository: asterisk-addons Revision: 570 _U branches/1.6.0/ U branches/1.6.0/Makefile U branches/1.6.0/Makefile.moddir_rules U branches/1.6.0/cdr/cdr_addon_mysql.c U branches/1.6.0/configs/cdr_mysql.conf.sample U branches/1.6.0/configure U branches/1.6.0/configure.ac U branches/1.6.0/res/res_config_mysql.c ------------------------------------------------------------------------ r570 | qwell | 2008-03-31 15:23:39 -0500 (Mon, 31 Mar 2008) | 73 lines Merged revisions 540,545-546,550,554-557,559 via svnmerge from https://origsvn.digium.com/svn/asterisk-addons/trunk ................ r540 | qwell | 2008-03-03 11:03:25 -0600 (Mon, 03 Mar 2008) | 13 lines Merged revisions 539 via svnmerge from https://origsvn.digium.com/svn/asterisk-addons/branches/1.4 ........ r539 | qwell | 2008-03-03 11:01:57 -0600 (Mon, 03 Mar 2008) | 5 lines Make sure to create the modules directory. In some cases, it's possible that this won't already exist. Closes issue ASTERISK-11550. ........ ................ r545 | tilghman | 2008-03-07 09:05:58 -0600 (Fri, 07 Mar 2008) | 10 lines Blocked revisions 544 via svnmerge ........ r544 | tilghman | 2008-03-07 09:04:06 -0600 (Fri, 07 Mar 2008) | 3 lines Fix documentation (Closes issue ASTERISK-11596) ........ ................ r546 | russell | 2008-03-11 11:19:30 -0500 (Tue, 11 Mar 2008) | 4 lines check for a different function to ensure that the version of spandsp is new enough (closes issue ASTERISK-11611) (reported by adriavidal, patched by me) ................ r550 | tilghman | 2008-03-12 00:50:55 -0500 (Wed, 12 Mar 2008) | 6 lines Fix module, based on recent required API change (closes issue ASTERISK-11619) Reported by: IgorG Patches: addons_res_mysql.diff uploaded by IgorG (license 20) ................ r554 | tilghman | 2008-03-18 12:43:14 -0500 (Tue, 18 Mar 2008) | 3 lines When the dbsock is blank, we want to use NULL, not the empty string (which causes MySQL to use the default) Reported via -dev mailing list, fixed by me. ................ r555 | qwell | 2008-03-18 12:48:23 -0500 (Tue, 18 Mar 2008) | 1 line Add the same format checking that was added to Asterisk. ................ r556 | qwell | 2008-03-18 12:55:50 -0500 (Tue, 18 Mar 2008) | 1 line Be more pedantic about format checking, since we can be. ................ r557 | qwell | 2008-03-18 13:06:31 -0500 (Tue, 18 Mar 2008) | 1 line Switch to menuselect trunk, add targets for newt and curses versions of menuselect ................ r559 | tilghman | 2008-03-18 14:47:56 -0500 (Tue, 18 Mar 2008) | 2 lines Create a compatibility mode, for people who want the old (incorrect) calldate behavior ................ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=570 |