In a large pot, heat 2 tablespoons of the olive oil. Add the onion, garlic and anchovies and cook over moderate heat, stirring occasionally, until starting to soften, 5 minutes. Stir in the carrots and celery and cook, stirring occasionally, until softened, 7 to 8 minutes. Add the zucchini, eggplant, summer squash, crushed red pepper and the remaining 3 tablespoons of olive oil and season with salt and pepper. Cook, stirring occasionally, until the vegetables are softened, 15 minutes. Add the wine and simmer for 2 minutes. Add the tomatoes, olives and basil and cook, stirring, for 10 minutes. Season with salt and pepper.