Xuanwo commented on issue #2813:
URL: https://github.com/apache/opendal/issues/2813#issuecomment-2737569772

   > hi 
[@Xuanwo](https://github.com/Xuanwo?rgh-link-date=2025-03-19T15%3A52%3A47.000Z) 
Promoting PIE to support direct installation of binary files may take a lot of 
time and might not ultimately be accepted. Based on this, I think we can 
consider an alternative approach.
   
   Agreed. I don't understand why PIE refuses to follow the same approach as 
python, which seems to be exactly what the community wants. We need to handle 
this ourselves.
   
   > Modify the Composer configuration so that it executes a script (e.g., 
install.php) during the first installation of opendal/opendal.
   
   That's already supported by `Composer`, right? We don't have to wait for it.
   
   > In install.php, detect the user's operating system and PHP version, then 
download the appropriate precompiled file.
   
   Looks good to me.
   
   > If no corresponding precompiled extension exists, attempt to compile from 
source or directly throw an error prompting users to refer to instructions in 
the README for compiling from source.
   
   Makes sense.
   
   ---
   
   > What do you think? If you're okay with it, I can write a demo soon to see 
how it works.
   
   That's will be great!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to