On 25/10/11 14:17, ·É»ú wrote: > Hi,friends. > Please tell me how to build a debian package in detail,I would like > to build a debian package for postgreSQL. Why? To get a good answer, you will need to explain more about what you are trying to achieve and why you want it. There are already Debian packages for PostgreSQL. What is wrong with them? Do you want to build a package of a newer PostgreSQL for an older version of Debian/Ubuntu? If so, check backports.org before trying to build your own. If there isn't a backport to the version you want, I recommend that you get the source to the latest package for the latest debian release and backport that yourself rather than trying to make a new package from scratch. Do you actually want to *compile* an existing Debian package of PostgreSQL from source into a binary .deb? If so, use dpkg-build . -- Craig Ringer -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general