Heat olive oil in a large saucepan over low heat. Saute the garlic, red pepper flakes and herbs for 2 minutes until the herbs are fragant and garlic is golden (but not overly brown). Raise the heat to medium and add onion and carrot; cook for 5 minutes until they breakdown and are soft. Deglaze with red wine and reduce the heat to evaporate the alcohol. Hand crush the canned tomatoes and add to the pot, along with its liquid. Add the sugar to cut down its acidity; season with salt and pepper. Let simmer for 30 minutes, uncovered.