Mr. Chirac and other European Union leaders signed the constitution at a summit in Rome in late October , but most of the 25 EU member states still have to ratify it .