Treatment of phenylacetyl chloride (I) with tris(trimethylsilyloxy)ethylene (A) in the presence of SnCl4 affords 1-hydroxy-3-phenylpropan-2-one (II), which is then condensed with ethyl oxalyl chloride (III) in THF in the presence of Et3N to yield (IV). Phenylhexanoate derivative (IV) is cyclized by means of DBU in DMF to provide valerolactone derivative (V), which is then condensed with 1-methylindole-3-carboxaldehyde (VI) in HOAc to furnish derivative (VII). Finally, the target compound is obtained by treatment of (VII) with NaOMe in MeOH.