openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.94k stars 3.45k forks source link

freeradius add perl #20982

Closed predators46 closed 6 days ago

predators46 commented 1 year ago

i tried to add perl in freeradius3 but failed. i don't understand a good way to add perl

configure: loading site script /home/open/wrt/include/site/aarch64                                 
checking for aarch64-openwrt-linux-gcc... aarch64-openwrt-linux-musl-gcc                           
checking whether the C compiler works... yes                                                       
checking for C compiler default output file name... a.out                                          
checking for suffix of executables...                                                              
checking whether we are cross compiling... yes                                                     
checking for suffix of object files... o                                                           
checking whether we are using the GNU C compiler... yes                                            
checking whether aarch64-openwrt-linux-musl-gcc accepts -g... yes                                  
checking for aarch64-openwrt-linux-musl-gcc option to accept ISO C89... none needed                
checking how to run the C preprocessor... aarch64-openwrt-linux-musl-gcc -E                        
checking whether perl executable path has been provided... no                                      
checking for perl... /home/open/wrt/staging_dir/host/bin/perl                                      
configure: Calling ExtUtils::Embed to get 'ccopts'                                                 
configure: ExtUtil's ccopts were " -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE "                                                                                  
configure: Sanitized ccopts are "-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -isystem /usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -isystem /usr/lib/x86_64-linux-gnu/perl/5.32/CORE"                                                                        
configure: Calling ExtUtils::Embed to get 'ldflags'                                                
configure: ExtUtil's ldopts were "-Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -lperl -ldl -lm -lpthread -lc -lcrypt"                                
configure: Sanitized ldopts are "-Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -lperl -ldl -lm -lpthread -lc -lcrypt"                                   
checking for EXTERN.h... yes                                                                       
checking for perl.h... yes                                                                         
checking we can link to boot_DynaLoader... no                                                      
checking we can link to Perl_hv_store()... no                                                      
configure: error: set --without-rlm_perl to disable it explicitly.                                 
configure: error: ./configure failed for src/modules/rlm_perl
predators46 commented 12 months ago

@micmac1

can you add perl in freeradius? I saw you were working on freeswitch